[jOOQ/jOOQ#10578] Add PackageDefinition.getUDTs()
This commit is contained in:
parent
a35a6c052f
commit
702b69c35b
@ -85,6 +85,11 @@ public abstract class AbstractPackageDefinition extends AbstractDefinition imple
|
||||
return routines;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<UDTDefinition> getUDTs() {
|
||||
return getDatabase().getUDTs(this);
|
||||
}
|
||||
|
||||
protected abstract List<RoutineDefinition> getRoutines0() throws SQLException;
|
||||
|
||||
@Override
|
||||
|
||||
@ -51,6 +51,11 @@ public interface PackageDefinition extends Definition {
|
||||
*/
|
||||
List<RoutineDefinition> getRoutines();
|
||||
|
||||
/**
|
||||
* Fetch all UDTs from the package.
|
||||
*/
|
||||
List<UDTDefinition> getUDTs();
|
||||
|
||||
/**
|
||||
* Fetch all constants from the package.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user