- All Implemented Interfaces:
Serializable,XMLAppendable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<CatalogMappingType>protected Stringprotected List<CommentType>protected List<CustomType>protected Booleanprotected Stringprotected Stringprotected List<EmbeddableDefinitionType>protected Stringprotected Stringprotected Stringprotected List<ForcedType>protected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Integerprotected Integerprotected Stringprotected Booleanprotected Stringprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Stringprotected Booleanprotected Booleanprotected Booleanprotected Stringprotected Stringprotected Booleanprotected List<SchemaMappingType>protected Stringprotected Booleanprotected Stringprotected SyntheticObjectsTypeprotected Stringprotected Booleanprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidappendTo(XMLBuilder builder) booleanA custom version number that, if available, will be used to assess whether thegetInputCatalog()from a given catalog will need to be regenerated.Deprecated.A regular expression matching all domain type declarations for which wrapper types should be generated.A regular expression matching all primary key declarations for which wrapper types should be generated, and for their referencing foreign keys.A regular expression matching all unique key declarations for which wrapper types should be generated, and for their referencing foreign keys.Deprecated.All elements that are excluded from your schema.All elements that are excluded from your schema.All elements that are generated from your schema.All elements that are generated from your schema.The catalog that is used locally as a source for meta information.The schema that is used locally as a source for meta information.The number of seconds that are considered "slow" before a query is logged to indicate a bug, 0 for not logging.The number of seconds that are considered "slow" before a result set is logged to indicate a bug, 0 for not logging.getName()The database dialect from jooq-meta.A customComparatorthat can compare twoDefinitionobjects to determine their order.The catalog that is used in generated source code.The schema that is used in generated source code.All (UNIQUE) key names that should be used instead of primary keys on generatedUpdatableRecord.All table and view columns that are used as "timestamp" fields for optimistic locking.All table and view columns that are used as "version" fields for optimistic locking.The flags that will be applied to all regular expressions from this configuration by default.A custom version number that, if available, will be used to assess whether thegetInputSchema()will need to be regenerated.A regular expression matching all columns that represent identities.The synthetic objects configuration.A regular expression matching all columns that participate in "synthetic" primary keys, which should be placed on generatedUpdatableRecordinthashCode()GenerateTimestampfields for DATE columns.Enable some default forced type configurations for built in data type extensions, such as the ones from the jooq-postgres-extensions module.Enable some default forced type configurations for XML schema collections, mapping them to JAXB annotated types using theXMLtoJAXBConverterHistorically, zero-scale decimal types are generated as their most appropriate, corresponding integer type (e.g.Deprecated.This feature is deprecated as of jOOQ 3.6.0 and will be removed again in jOOQ 4.0.This flag indicates whether check constraints should be included in output produced by this databaseThis flag indicates whether domains should be included in output produced by this databaseThis flag indicates whether embeddable types should be included in output produced by this databaseThis flag indicates whether include / exclude patterns should also match columns within tables.This flag indicates whether include / exclude patterns should also match routines within packages.This flag indicates whether foreign keys should be included in output produced by this databaseThis flag indicates whether indexes should be included in output produced by this databaseThis flag indicates whether invisible columns should be included in output produced by this databaseThis flag indicates whether constants contained in packages should be included in output produced by this databaseThis flag indicates whether routines contained in packages should be included in output produced by this databaseThis flag indicates whether packages should be included in output produced by this databaseThis flag indicates whether UDTs contained in packages should be included in output produced by this databaseThis flag indicates whether primary keys should be included in output produced by this databaseThis flag indicates whether routines should be included in output produced by this databaseThis flag indicates whether sequences should be included in output produced by this databaseThis flag indicates whether system generated check constraints should be included in output produced by this databaseThis flag indicates whether system generated indexes should be included in output produced by this databaseThis flag indicates whether system generated sequences should be included in output produced by this databaseThis flag indicates whether system tables should be included in output produced by this databaseThis flag indicates whether system generated UDTs should be included in output produced by this databaseThis flag indicates whether tables should be included in output produced by this databaseThis flag indicates whether trigger implementation routines should be included in output produced by this database (e.g.This flag indicates whether udts should be included in output produced by this databaseThis flag indicates whether unique keys should be included in output produced by this databaseThis flag indicates whether XML schema collections should be included in output produced by this databaseInclude display width in type declaration.Specify whether to use the Oracle DBA_XYZ views instead of the ALL_XYZ views.A flag to indicate that the outputCatalog should be the "default" catalog, which generates catalog-less, unqualified tables, procedures, etc.A flag to indicate that the outputSchema should be the "default" schema, which generates schema-less, unqualified tables, procedures, etc.Whether computed columns should exposeDataType.readonly()behaviour.Whether identity columns should exposeDataType.readonly()behaviour.Whether columns that are known not to be updatable (e.g.Whether regular expressions that match qualified object names also match partial qualifications (e.g.Whether SQL queries that match qualified object names also match partial qualifications (e.g.Whether table valued functions should be reported as tables.Generate jOOU data types for your unsigned data types, which are not natively supported in JavavoidsetCatalogs(List<CatalogMappingType> catalogs) voidsetCatalogVersionProvider(String value) A custom version number that, if available, will be used to assess whether thegetInputCatalog()from a given catalog will need to be regenerated.voidsetComments(List<CommentType> comments) voidsetCustomTypes(List<CustomType> customTypes) Deprecated.voidsetDateAsTimestamp(Boolean value) Sets the value of the dateAsTimestamp property.voidsetEmbeddableDomains(String value) A regular expression matching all domain type declarations for which wrapper types should be generated.voidsetEmbeddablePrimaryKeys(String value) A regular expression matching all primary key declarations for which wrapper types should be generated, and for their referencing foreign keys.voidsetEmbeddables(List<EmbeddableDefinitionType> embeddables) voidsetEmbeddableUniqueKeys(String value) A regular expression matching all unique key declarations for which wrapper types should be generated, and for their referencing foreign keys.voidsetEnumTypes(List<EnumType> enumTypes) Deprecated.voidsetExcludes(String value) All elements that are excluded from your schema.voidsetExcludeSql(String value) All elements that are excluded from your schema.voidsetForcedTypes(List<ForcedType> forcedTypes) voidSets the value of the forcedTypesForBuiltinDataTypeExtensions property.voidSets the value of the forcedTypesForXMLSchemaCollections property.voidSets the value of the forceIntegerTypesOnZeroScaleDecimals property.voidDeprecated.voidSets the value of the includeCheckConstraints property.voidsetIncludeDomains(Boolean value) Sets the value of the includeDomains property.voidsetIncludeEmbeddables(Boolean value) Sets the value of the includeEmbeddables property.voidsetIncludeExcludeColumns(Boolean value) Sets the value of the includeExcludeColumns property.voidSets the value of the includeExcludePackageRoutines property.voidsetIncludeForeignKeys(Boolean value) Sets the value of the includeForeignKeys property.voidsetIncludeIndexes(Boolean value) Sets the value of the includeIndexes property.voidSets the value of the includeInvisibleColumns property.voidSets the value of the includePackageConstants property.voidsetIncludePackageRoutines(Boolean value) Sets the value of the includePackageRoutines property.voidsetIncludePackages(Boolean value) Sets the value of the includePackages property.voidsetIncludePackageUDTs(Boolean value) Sets the value of the includePackageUDTs property.voidsetIncludePrimaryKeys(Boolean value) Sets the value of the includePrimaryKeys property.voidsetIncludeRoutines(Boolean value) Sets the value of the includeRoutines property.voidsetIncludes(String value) All elements that are generated from your schema.voidsetIncludeSequences(Boolean value) Sets the value of the includeSequences property.voidsetIncludeSql(String value) All elements that are generated from your schema.voidSets the value of the includeSystemCheckConstraints property.voidsetIncludeSystemIndexes(Boolean value) Sets the value of the includeSystemIndexes property.voidsetIncludeSystemSequences(Boolean value) Sets the value of the includeSystemSequences property.voidsetIncludeSystemTables(Boolean value) Sets the value of the includeSystemTables property.voidsetIncludeSystemUDTs(Boolean value) Sets the value of the includeSystemUDTs property.voidsetIncludeTables(Boolean value) Sets the value of the includeTables property.voidsetIncludeTriggerRoutines(Boolean value) Sets the value of the includeTriggerRoutines property.voidsetIncludeUDTs(Boolean value) Sets the value of the includeUDTs property.voidsetIncludeUniqueKeys(Boolean value) Sets the value of the includeUniqueKeys property.voidSets the value of the includeXMLSchemaCollections property.voidsetInputCatalog(String value) The catalog that is used locally as a source for meta information.voidsetInputSchema(String value) The schema that is used locally as a source for meta information.voidsetIntegerDisplayWidths(Boolean value) Sets the value of the integerDisplayWidths property.voidThe number of seconds that are considered "slow" before a query is logged to indicate a bug, 0 for not logging.voidThe number of seconds that are considered "slow" before a result set is logged to indicate a bug, 0 for not logging.voidThe database dialect from jooq-meta.voidsetOracleUseDBAViews(Boolean value) Sets the value of the oracleUseDBAViews property.voidsetOrderProvider(String value) A customComparatorthat can compare twoDefinitionobjects to determine their order.voidsetOutputCatalog(String value) The catalog that is used in generated source code.voidsetOutputCatalogToDefault(Boolean value) Sets the value of the outputCatalogToDefault property.voidsetOutputSchema(String value) The schema that is used in generated source code.voidsetOutputSchemaToDefault(Boolean value) Sets the value of the outputSchemaToDefault property.voidsetOverridePrimaryKeys(String value) All (UNIQUE) key names that should be used instead of primary keys on generatedUpdatableRecord.voidsetProperties(List<Property> properties) voidSets the value of the readonlyComputedColumns property.voidsetReadonlyIdentities(Boolean value) Sets the value of the readonlyIdentities property.voidSets the value of the readonlyNonUpdatableColumns property.voidsetRecordTimestampFields(String value) All table and view columns that are used as "timestamp" fields for optimistic locking.voidsetRecordVersionFields(String value) All table and view columns that are used as "version" fields for optimistic locking.voidSets the value of the regexMatchesPartialQualification property.voidsetSchemata(List<SchemaMappingType> schemata) voidsetSchemaVersionProvider(String value) A custom version number that, if available, will be used to assess whether thegetInputSchema()will need to be regenerated.voidSets the value of the sqlMatchesPartialQualification property.voidsetSyntheticIdentities(String value) A regular expression matching all columns that represent identities.voidThe synthetic objects configuration.voidsetSyntheticPrimaryKeys(String value) A regular expression matching all columns that participate in "synthetic" primary keys, which should be placed on generatedUpdatableRecordvoidsetTableValuedFunctions(Boolean value) Sets the value of the tableValuedFunctions property.voidsetUnsignedTypes(Boolean value) Sets the value of the unsignedTypes property.toString()withCatalogs(Collection<CatalogMappingType> values) withCatalogs(List<CatalogMappingType> catalogs) withCatalogs(CatalogMappingType... values) withCatalogVersionProvider(String value) A custom version number that, if available, will be used to assess whether thegetInputCatalog()from a given catalog will need to be regenerated.withComments(Collection<CommentType> values) withComments(List<CommentType> comments) withComments(CommentType... values) withCustomTypes(Collection<CustomType> values) Deprecated.withCustomTypes(List<CustomType> customTypes) Deprecated.withCustomTypes(CustomType... values) Deprecated.withDateAsTimestamp(Boolean value) withEmbeddableDomains(String value) A regular expression matching all domain type declarations for which wrapper types should be generated.withEmbeddablePrimaryKeys(String value) A regular expression matching all primary key declarations for which wrapper types should be generated, and for their referencing foreign keys.withEmbeddables(List<EmbeddableDefinitionType> embeddables) withEmbeddables(EmbeddableDefinitionType... values) withEmbeddableUniqueKeys(String value) A regular expression matching all unique key declarations for which wrapper types should be generated, and for their referencing foreign keys.withEnumTypes(Collection<EnumType> values) Deprecated.withEnumTypes(List<EnumType> enumTypes) Deprecated.withEnumTypes(EnumType... values) Deprecated.withExcludes(String value) All elements that are excluded from your schema.withExcludeSql(String value) All elements that are excluded from your schema.withForcedTypes(Collection<ForcedType> values) withForcedTypes(List<ForcedType> forcedTypes) withForcedTypes(ForcedType... values) withIncludeDomains(Boolean value) withIncludeEmbeddables(Boolean value) withIncludeExcludeColumns(Boolean value) withIncludeForeignKeys(Boolean value) withIncludeIndexes(Boolean value) withIncludePackages(Boolean value) withIncludePackageUDTs(Boolean value) withIncludePrimaryKeys(Boolean value) withIncludeRoutines(Boolean value) withIncludes(String value) All elements that are generated from your schema.withIncludeSequences(Boolean value) withIncludeSql(String value) All elements that are generated from your schema.withIncludeSystemIndexes(Boolean value) withIncludeSystemTables(Boolean value) withIncludeSystemUDTs(Boolean value) withIncludeTables(Boolean value) withIncludeUDTs(Boolean value) withIncludeUniqueKeys(Boolean value) withInputCatalog(String value) The catalog that is used locally as a source for meta information.withInputSchema(String value) The schema that is used locally as a source for meta information.withIntegerDisplayWidths(Boolean value) The number of seconds that are considered "slow" before a query is logged to indicate a bug, 0 for not logging.The number of seconds that are considered "slow" before a result set is logged to indicate a bug, 0 for not logging.The database dialect from jooq-meta.withOracleUseDBAViews(Boolean value) withOrderProvider(String value) A customComparatorthat can compare twoDefinitionobjects to determine their order.withOutputCatalog(String value) The catalog that is used in generated source code.withOutputSchema(String value) The schema that is used in generated source code.withOutputSchemaToDefault(Boolean value) withOverridePrimaryKeys(String value) All (UNIQUE) key names that should be used instead of primary keys on generatedUpdatableRecord.withProperties(Collection<Property> values) withProperties(List<Property> properties) withProperties(Property... values) withReadonlyIdentities(Boolean value) withRecordTimestampFields(String value) All table and view columns that are used as "timestamp" fields for optimistic locking.withRecordVersionFields(String value) All table and view columns that are used as "version" fields for optimistic locking.withRegexFlags(Collection<RegexFlag> values) The flags that will be applied to all regular expressions from this configuration by default.withRegexFlags(RegexFlag... values) The flags that will be applied to all regular expressions from this configuration by default.withSchemata(Collection<SchemaMappingType> values) withSchemata(List<SchemaMappingType> schemata) withSchemata(SchemaMappingType... values) withSchemaVersionProvider(String value) A custom version number that, if available, will be used to assess whether thegetInputSchema()will need to be regenerated.withSyntheticIdentities(String value) A regular expression matching all columns that represent identities.The synthetic objects configuration.withSyntheticPrimaryKeys(String value) A regular expression matching all columns that participate in "synthetic" primary keys, which should be placed on generatedUpdatableRecordwithTableValuedFunctions(Boolean value) withUnsignedTypes(Boolean value)
-
Field Details
-
name
-
regexFlags
-
regexMatchesPartialQualification
-
sqlMatchesPartialQualification
-
includes
-
includeSql
-
excludes
-
excludeSql
-
includeExcludeColumns
-
includeExcludePackageRoutines
-
includeTables
-
includeEmbeddables
-
includeRoutines
-
includeTriggerRoutines
-
includePackages
-
includePackageRoutines
-
includePackageUDTs
-
includePackageConstants
-
includeXMLSchemaCollections
-
includeUDTs
-
includeDomains
-
includeSequences
-
includeIndexes
-
includePrimaryKeys
-
includeUniqueKeys
-
includeForeignKeys
-
includeCheckConstraints
-
includeSystemTables
-
includeSystemIndexes
-
includeSystemCheckConstraints
-
includeSystemSequences
-
includeSystemUDTs
-
includeInvisibleColumns
-
recordVersionFields
-
recordTimestampFields
-
syntheticObjects
-
syntheticIdentities
-
syntheticPrimaryKeys
-
overridePrimaryKeys
-
dateAsTimestamp
-
ignoreProcedureReturnValues
-
unsignedTypes
-
integerDisplayWidths
-
inputCatalog
-
outputCatalog
-
outputCatalogToDefault
-
inputSchema
-
outputSchema
-
outputSchemaToDefault
-
schemaVersionProvider
-
catalogVersionProvider
-
orderProvider
-
embeddablePrimaryKeys
-
embeddableUniqueKeys
-
embeddableDomains
-
readonlyIdentities
-
readonlyComputedColumns
-
readonlyNonUpdatableColumns
-
forcedTypesForBuiltinDataTypeExtensions
-
forcedTypesForXMLSchemaCollections
-
forceIntegerTypesOnZeroScaleDecimals
-
tableValuedFunctions
-
oracleUseDBAViews
-
logSlowQueriesAfterSeconds
-
logSlowResultsAfterSeconds
-
properties
-
comments
-
catalogs
-
schemata
-
embeddables
-
customTypes
-
enumTypes
-
forcedTypes
-
-
Constructor Details
-
Database
public Database()
-
-
Method Details
-
getName
The database dialect from jooq-meta. Available dialects are namedorg.util.[database].[database]Database.Natively supported values are:
-
invalid @link
org.jooq.meta.ase.ASEDatabase -
invalid @link
org.jooq.meta.cockroachdb.CockroachDBDatabase -
invalid @link
org.jooq.meta.db2.DB2Database DerbyDatabaseFirebirdDatabaseH2Database-
invalid @link
org.jooq.meta.hana.HanaDatabase HSQLDBDatabase-
invalid @link
org.jooq.meta.informix.InformixDatabase -
invalid @link
org.jooq.meta.ingres.IngresDatabase MariaDBDatabaseMySQLDatabase-
invalid @link
org.jooq.meta.oracle.OracleDatabase PostgresDatabase-
invalid @link
org.jooq.meta.redshift.RedshiftDatabase SQLiteDatabase-
invalid @link
org.jooq.meta.sqlserver.SQLServerDatabase -
invalid @link
org.jooq.meta.sybase.SybaseDatabase -
invalid @link
org.jooq.meta.vertica.VerticaDatabase YugabyteDBDatabase
This value can be used to reverse-engineer generic JDBC DatabaseMetaData (e.g. for MS Access).
This value can be used to reverse-engineer standard jOOQ-meta XML formats.
This value can be used to reverse-engineer JPA annotated entities
-
invalid @link
org.jooq.meta.extensions.jpa.JPADatabase
You can also provide your own org.jooq.meta.Database implementation here, if your database is currently not supported
-
-
setName
The database dialect from jooq-meta. Available dialects are namedorg.util.[database].[database]Database.Natively supported values are:
-
invalid @link
org.jooq.meta.ase.ASEDatabase -
invalid @link
org.jooq.meta.cockroachdb.CockroachDBDatabase -
invalid @link
org.jooq.meta.db2.DB2Database DerbyDatabaseFirebirdDatabaseH2Database-
invalid @link
org.jooq.meta.hana.HanaDatabase HSQLDBDatabase-
invalid @link
org.jooq.meta.informix.InformixDatabase -
invalid @link
org.jooq.meta.ingres.IngresDatabase MariaDBDatabaseMySQLDatabase-
invalid @link
org.jooq.meta.oracle.OracleDatabase PostgresDatabase-
invalid @link
org.jooq.meta.redshift.RedshiftDatabase SQLiteDatabase-
invalid @link
org.jooq.meta.sqlserver.SQLServerDatabase -
invalid @link
org.jooq.meta.sybase.SybaseDatabase -
invalid @link
org.jooq.meta.vertica.VerticaDatabase YugabyteDBDatabase
This value can be used to reverse-engineer generic JDBC DatabaseMetaData (e.g. for MS Access).
This value can be used to reverse-engineer standard jOOQ-meta XML formats.
This value can be used to reverse-engineer JPA annotated entities
-
invalid @link
org.jooq.meta.extensions.jpa.JPADatabase
You can also provide your own org.jooq.meta.Database implementation here, if your database is currently not supported
-
-
getRegexFlags
The flags that will be applied to all regular expressions from this configuration by default.The default value is "COMMENTS CASE_INSENSITIVE"Gets the value of the regexFlags property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the regexFlags property.For example, to add a new item, do as follows:
getRegexFlags().add(newItem);Objects of the following type(s) are allowed in the list
RegexFlag -
isRegexMatchesPartialQualification
Whether regular expressions that match qualified object names also match partial qualifications (e.g. `table\.column` matches `schema.table.column`) or only full and/or no qualifications (e.g. `schema\.table\.column` and `column` match `schema.table.column`)- Returns:
- possible object is
Boolean
-
setRegexMatchesPartialQualification
Sets the value of the regexMatchesPartialQualification property.- Parameters:
value- allowed object isBoolean
-
isSqlMatchesPartialQualification
Whether SQL queries that match qualified object names also match partial qualifications (e.g. `table\.column` matches `schema.table.column`) or only full and/or no qualifications (e.g. `schema\.table\.column` and `column` match `schema.table.column`)- Returns:
- possible object is
Boolean
-
setSqlMatchesPartialQualification
Sets the value of the sqlMatchesPartialQualification property.- Parameters:
value- allowed object isBoolean
-
getIncludes
All elements that are generated from your schema.This is a Java regular expression. Use the pipe to separate several expressions. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags(). -
setIncludes
All elements that are generated from your schema.This is a Java regular expression. Use the pipe to separate several expressions. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags(). -
getIncludeSql
All elements that are generated from your schema.This is a query that produces Java regular expressions, which are appended to the ones produced by includes. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags().Excludes match before includes, i.e. excludes have a higher priority.
-
setIncludeSql
All elements that are generated from your schema.This is a query that produces Java regular expressions, which are appended to the ones produced by includes. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags().Excludes match before includes, i.e. excludes have a higher priority.
-
getExcludes
All elements that are excluded from your schema.This is a Java regular expression. Use the pipe to separate several expressions. Excludes match before includes, i.e. excludes have a higher priority.
-
setExcludes
All elements that are excluded from your schema.This is a Java regular expression. Use the pipe to separate several expressions. Excludes match before includes, i.e. excludes have a higher priority.
-
getExcludeSql
All elements that are excluded from your schema.This is a query that produces Java regular expressions, which are appended to the ones produced by excludes. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags().Excludes match before includes, i.e. excludes have a higher priority.
-
setExcludeSql
All elements that are excluded from your schema.This is a query that produces Java regular expressions, which are appended to the ones produced by excludes. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags().Excludes match before includes, i.e. excludes have a higher priority.
-
isIncludeExcludeColumns
This flag indicates whether include / exclude patterns should also match columns within tables.- Returns:
- possible object is
Boolean
-
setIncludeExcludeColumns
Sets the value of the includeExcludeColumns property.- Parameters:
value- allowed object isBoolean
-
isIncludeExcludePackageRoutines
This flag indicates whether include / exclude patterns should also match routines within packages.- Returns:
- possible object is
Boolean
-
setIncludeExcludePackageRoutines
Sets the value of the includeExcludePackageRoutines property.- Parameters:
value- allowed object isBoolean
-
isIncludeTables
This flag indicates whether tables should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeTables
Sets the value of the includeTables property.- Parameters:
value- allowed object isBoolean
-
isIncludeEmbeddables
This flag indicates whether embeddable types should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeEmbeddables
Sets the value of the includeEmbeddables property.- Parameters:
value- allowed object isBoolean
-
isIncludeRoutines
This flag indicates whether routines should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeRoutines
Sets the value of the includeRoutines property.- Parameters:
value- allowed object isBoolean
-
isIncludeTriggerRoutines
This flag indicates whether trigger implementation routines should be included in output produced by this database (e.g. in PostgreSQL)- Returns:
- possible object is
Boolean
-
setIncludeTriggerRoutines
Sets the value of the includeTriggerRoutines property.- Parameters:
value- allowed object isBoolean
-
isIncludePackages
This flag indicates whether packages should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludePackages
Sets the value of the includePackages property.- Parameters:
value- allowed object isBoolean
-
isIncludePackageRoutines
This flag indicates whether routines contained in packages should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludePackageRoutines
Sets the value of the includePackageRoutines property.- Parameters:
value- allowed object isBoolean
-
isIncludePackageUDTs
This flag indicates whether UDTs contained in packages should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludePackageUDTs
Sets the value of the includePackageUDTs property.- Parameters:
value- allowed object isBoolean
-
isIncludePackageConstants
This flag indicates whether constants contained in packages should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludePackageConstants
Sets the value of the includePackageConstants property.- Parameters:
value- allowed object isBoolean
-
isIncludeXMLSchemaCollections
This flag indicates whether XML schema collections should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeXMLSchemaCollections
Sets the value of the includeXMLSchemaCollections property.- Parameters:
value- allowed object isBoolean
-
isIncludeUDTs
This flag indicates whether udts should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeUDTs
Sets the value of the includeUDTs property.- Parameters:
value- allowed object isBoolean
-
isIncludeDomains
This flag indicates whether domains should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeDomains
Sets the value of the includeDomains property.- Parameters:
value- allowed object isBoolean
-
isIncludeSequences
This flag indicates whether sequences should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeSequences
Sets the value of the includeSequences property.- Parameters:
value- allowed object isBoolean
-
isIncludeIndexes
This flag indicates whether indexes should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeIndexes
Sets the value of the includeIndexes property.- Parameters:
value- allowed object isBoolean
-
isIncludePrimaryKeys
This flag indicates whether primary keys should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludePrimaryKeys
Sets the value of the includePrimaryKeys property.- Parameters:
value- allowed object isBoolean
-
isIncludeUniqueKeys
This flag indicates whether unique keys should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeUniqueKeys
Sets the value of the includeUniqueKeys property.- Parameters:
value- allowed object isBoolean
-
isIncludeForeignKeys
This flag indicates whether foreign keys should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeForeignKeys
Sets the value of the includeForeignKeys property.- Parameters:
value- allowed object isBoolean
-
isIncludeCheckConstraints
This flag indicates whether check constraints should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeCheckConstraints
Sets the value of the includeCheckConstraints property.- Parameters:
value- allowed object isBoolean
-
isIncludeSystemTables
This flag indicates whether system tables should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeSystemTables
Sets the value of the includeSystemTables property.- Parameters:
value- allowed object isBoolean
-
isIncludeSystemIndexes
This flag indicates whether system generated indexes should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeSystemIndexes
Sets the value of the includeSystemIndexes property.- Parameters:
value- allowed object isBoolean
-
isIncludeSystemCheckConstraints
This flag indicates whether system generated check constraints should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeSystemCheckConstraints
Sets the value of the includeSystemCheckConstraints property.- Parameters:
value- allowed object isBoolean
-
isIncludeSystemSequences
This flag indicates whether system generated sequences should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeSystemSequences
Sets the value of the includeSystemSequences property.- Parameters:
value- allowed object isBoolean
-
isIncludeSystemUDTs
This flag indicates whether system generated UDTs should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeSystemUDTs
Sets the value of the includeSystemUDTs property.- Parameters:
value- allowed object isBoolean
-
isIncludeInvisibleColumns
This flag indicates whether invisible columns should be included in output produced by this database- Returns:
- possible object is
Boolean
-
setIncludeInvisibleColumns
Sets the value of the includeInvisibleColumns property.- Parameters:
value- allowed object isBoolean
-
getRecordVersionFields
All table and view columns that are used as "version" fields for optimistic locking.This is a Java regular expression. Use the pipe to separate several expressions. See
UpdatableRecord.store()andUpdatableRecord.delete()for details about optimistic locking. -
setRecordVersionFields
All table and view columns that are used as "version" fields for optimistic locking.This is a Java regular expression. Use the pipe to separate several expressions. See
UpdatableRecord.store()andUpdatableRecord.delete()for details about optimistic locking. -
getRecordTimestampFields
All table and view columns that are used as "timestamp" fields for optimistic locking.This is a Java regular expression. Use the pipe to separate several expressions. See
UpdatableRecord.store()andUpdatableRecord.delete()for details about optimistic locking. -
setRecordTimestampFields
All table and view columns that are used as "timestamp" fields for optimistic locking.This is a Java regular expression. Use the pipe to separate several expressions. See
UpdatableRecord.store()andUpdatableRecord.delete()for details about optimistic locking. -
getSyntheticObjects
The synthetic objects configuration. -
setSyntheticObjects
The synthetic objects configuration. -
getSyntheticIdentities
A regular expression matching all columns that represent identities.To be used if columns are not detected as automatically as identities.
-
setSyntheticIdentities
A regular expression matching all columns that represent identities.To be used if columns are not detected as automatically as identities.
-
getSyntheticPrimaryKeys
A regular expression matching all columns that participate in "synthetic" primary keys, which should be placed on generatedUpdatableRecordTo be used with:
Synthetic primary keys will override existing primary keys.
-
setSyntheticPrimaryKeys
A regular expression matching all columns that participate in "synthetic" primary keys, which should be placed on generatedUpdatableRecordTo be used with:
Synthetic primary keys will override existing primary keys.
-
getOverridePrimaryKeys
All (UNIQUE) key names that should be used instead of primary keys on generatedUpdatableRecord.To be used with:
If several keys match, a warning is emitted and the first one encountered will be used.
This flag will also replace synthetic primary keys, if it matches.
-
setOverridePrimaryKeys
All (UNIQUE) key names that should be used instead of primary keys on generatedUpdatableRecord.To be used with:
If several keys match, a warning is emitted and the first one encountered will be used.
This flag will also replace synthetic primary keys, if it matches.
-
isDateAsTimestamp
GenerateTimestampfields for DATE columns. This is particularly useful for Oracle databases- Returns:
- possible object is
Boolean
-
setDateAsTimestamp
Sets the value of the dateAsTimestamp property.- Parameters:
value- allowed object isBoolean
-
isIgnoreProcedureReturnValues
Deprecated.This feature is deprecated as of jOOQ 3.6.0 and will be removed again in jOOQ 4.0.Ignore procedure return values in Transact-SQL generated code.In jOOQ 3.6.0, #4106 was implemented to support Transact-SQL's optional return values from stored procedures. This turns all procedures into Routine
(instead of Routine ). For backwards- compatibility reasons, users can suppress this change in jOOQ 3.x - Returns:
- possible object is
Boolean
-
setIgnoreProcedureReturnValues
Deprecated.Sets the value of the ignoreProcedureReturnValues property.- Parameters:
value- allowed object isBoolean
-
isUnsignedTypes
Generate jOOU data types for your unsigned data types, which are not natively supported in Java- Returns:
- possible object is
Boolean
-
setUnsignedTypes
Sets the value of the unsignedTypes property.- Parameters:
value- allowed object isBoolean
-
isIntegerDisplayWidths
Include display width in type declaration. In some RDBMS (e.g. MariaDB, MySQL), fixed width integer types are optionally accompanied by a display width. This is sometimes abused to model BOOLEAN types via TINYINT(1). This flag allows for including that display width in the type declaration exposed by jOOQ-meta code, as if it were a numeric precision.- Returns:
- possible object is
Boolean
-
setIntegerDisplayWidths
Sets the value of the integerDisplayWidths property.- Parameters:
value- allowed object isBoolean
-
getInputCatalog
The catalog that is used locally as a source for meta information.This cannot be combined with the
getCatalogs()configuration element. If left empty (and without anygetCatalogs()configuration element), jOOQ will generate all available catalogs. -
setInputCatalog
The catalog that is used locally as a source for meta information.This cannot be combined with the
getCatalogs()configuration element. If left empty (and without anygetCatalogs()configuration element), jOOQ will generate all available catalogs. -
getOutputCatalog
The catalog that is used in generated source code.Use this to override your local development catalog name for source code generation. If not specified, this will be the same as
getInputCatalog()This will be ignored if
isOutputCatalogToDefault()is set to true -
setOutputCatalog
The catalog that is used in generated source code.Use this to override your local development catalog name for source code generation. If not specified, this will be the same as
getInputCatalog()This will be ignored if
isOutputCatalogToDefault()is set to true -
isOutputCatalogToDefault
A flag to indicate that the outputCatalog should be the "default" catalog, which generates catalog-less, unqualified tables, procedures, etc.- Returns:
- possible object is
Boolean
-
setOutputCatalogToDefault
Sets the value of the outputCatalogToDefault property.- Parameters:
value- allowed object isBoolean
-
getInputSchema
The schema that is used locally as a source for meta information.This cannot be combined with the
getSchemata()configuration element. If left empty (and without anygetSchemata()configuration element), jOOQ will generate all available schemata. -
setInputSchema
The schema that is used locally as a source for meta information.This cannot be combined with the
getSchemata()configuration element. If left empty (and without anygetSchemata()configuration element), jOOQ will generate all available schemata. -
getOutputSchema
The schema that is used in generated source code.Use this to override your local development schema name for source code generation. If not specified, this will be the same as
getInputSchema(). This will be ignored ifisOutputSchemaToDefault()is set to true -
setOutputSchema
The schema that is used in generated source code.Use this to override your local development schema name for source code generation. If not specified, this will be the same as
getInputSchema(). This will be ignored ifisOutputSchemaToDefault()is set to true -
isOutputSchemaToDefault
A flag to indicate that the outputSchema should be the "default" schema, which generates schema-less, unqualified tables, procedures, etc.- Returns:
- possible object is
Boolean
-
setOutputSchemaToDefault
Sets the value of the outputSchemaToDefault property.- Parameters:
value- allowed object isBoolean
-
getSchemaVersionProvider
A custom version number that, if available, will be used to assess whether thegetInputSchema()will need to be regenerated.There are three operation modes for this element:
- The value is a class that can be found on the classpath and that implements
SchemaVersionProvider. Such classes must provide a default constructor - The value is a SELECT statement that returns one record with one column. The SELECT statement may contain a named variable called :schema_name
- The value is a constant, such as a Maven property
Schema versions will be generated into the
Generatedannotation on generated artefacts. - The value is a class that can be found on the classpath and that implements
-
setSchemaVersionProvider
A custom version number that, if available, will be used to assess whether thegetInputSchema()will need to be regenerated.There are three operation modes for this element:
- The value is a class that can be found on the classpath and that implements
SchemaVersionProvider. Such classes must provide a default constructor - The value is a SELECT statement that returns one record with one column. The SELECT statement may contain a named variable called :schema_name
- The value is a constant, such as a Maven property
Schema versions will be generated into the
Generatedannotation on generated artefacts. - The value is a class that can be found on the classpath and that implements
-
getCatalogVersionProvider
A custom version number that, if available, will be used to assess whether thegetInputCatalog()from a given catalog will need to be regenerated.There are three operation modes for this element:
- The value is a class that can be found on the classpath and that implements
CatalogVersionProvider. Such classes must provide a default constructor - The value is a SELECT statement that returns one record with one column. The SELECT statement may contain a named variable called :catalog_name
- The value is a constant, such as a Maven property
Catalog versions will be generated into the
Generatedannotation on generated artefacts. - The value is a class that can be found on the classpath and that implements
-
setCatalogVersionProvider
A custom version number that, if available, will be used to assess whether thegetInputCatalog()from a given catalog will need to be regenerated.There are three operation modes for this element:
- The value is a class that can be found on the classpath and that implements
CatalogVersionProvider. Such classes must provide a default constructor - The value is a SELECT statement that returns one record with one column. The SELECT statement may contain a named variable called :catalog_name
- The value is a constant, such as a Maven property
Catalog versions will be generated into the
Generatedannotation on generated artefacts. - The value is a class that can be found on the classpath and that implements
-
getOrderProvider
A customComparatorthat can compare twoDefinitionobjects to determine their order.This comparator can be used to influence the order of any object that is produced by jOOQ meta, and thus, indirectly, the order of declared objects in generated code.
-
setOrderProvider
A customComparatorthat can compare twoDefinitionobjects to determine their order.This comparator can be used to influence the order of any object that is produced by jOOQ meta, and thus, indirectly, the order of declared objects in generated code.
-
getEmbeddablePrimaryKeys
A regular expression matching all primary key declarations for which wrapper types should be generated, and for their referencing foreign keys.This feature is available in the commercial distribution only.
-
setEmbeddablePrimaryKeys
A regular expression matching all primary key declarations for which wrapper types should be generated, and for their referencing foreign keys.This feature is available in the commercial distribution only.
-
getEmbeddableUniqueKeys
A regular expression matching all unique key declarations for which wrapper types should be generated, and for their referencing foreign keys.This feature is available in the commercial distribution only.
-
setEmbeddableUniqueKeys
A regular expression matching all unique key declarations for which wrapper types should be generated, and for their referencing foreign keys.This feature is available in the commercial distribution only.
-
getEmbeddableDomains
A regular expression matching all domain type declarations for which wrapper types should be generated.This feature is available in the commercial distribution only.
-
setEmbeddableDomains
A regular expression matching all domain type declarations for which wrapper types should be generated.This feature is available in the commercial distribution only.
-
isReadonlyIdentities
Whether identity columns should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setReadonlyIdentities
Sets the value of the readonlyIdentities property.- Parameters:
value- allowed object isBoolean
-
isReadonlyComputedColumns
Whether computed columns should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setReadonlyComputedColumns
Sets the value of the readonlyComputedColumns property.- Parameters:
value- allowed object isBoolean
-
isReadonlyNonUpdatableColumns
Whether columns that are known not to be updatable (e.g. in views) should exposeDataType.readonly()behaviour.This feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setReadonlyNonUpdatableColumns
Sets the value of the readonlyNonUpdatableColumns property.- Parameters:
value- allowed object isBoolean
-
isForcedTypesForBuiltinDataTypeExtensions
Enable some default forced type configurations for built in data type extensions, such as the ones from the jooq-postgres-extensions module.- Returns:
- possible object is
Boolean
-
setForcedTypesForBuiltinDataTypeExtensions
Sets the value of the forcedTypesForBuiltinDataTypeExtensions property.- Parameters:
value- allowed object isBoolean
-
isForcedTypesForXMLSchemaCollections
Enable some default forced type configurations for XML schema collections, mapping them to JAXB annotated types using theXMLtoJAXBConverterThis feature is available in the commercial distribution only.
- Returns:
- possible object is
Boolean
-
setForcedTypesForXMLSchemaCollections
Sets the value of the forcedTypesForXMLSchemaCollections property.- Parameters:
value- allowed object isBoolean
-
isForceIntegerTypesOnZeroScaleDecimals
Historically, zero-scale decimal types are generated as their most appropriate, corresponding integer type (e.g. NUMBER(2, 0) and less: Byte). This allows for turning off this feature. In case of conflict between this rule and actualgetForcedTypes(), the latter will win.- Returns:
- possible object is
Boolean
-
setForceIntegerTypesOnZeroScaleDecimals
Sets the value of the forceIntegerTypesOnZeroScaleDecimals property.- Parameters:
value- allowed object isBoolean
-
isTableValuedFunctions
Whether table valued functions should be reported as tables.If this is deactivated, such functions are not generated as tables, but as ordinary routines. This is particularly useful for backwards- compatibility between jOOQ 3.8 and previous versions, when using TABLE and VARRAY types in Oracle.
While this flag defaults to true for most databases, it defaults to false for Oracle.
- Returns:
- possible object is
Boolean
-
setTableValuedFunctions
Sets the value of the tableValuedFunctions property.- Parameters:
value- allowed object isBoolean
-
isOracleUseDBAViews
Specify whether to use the Oracle DBA_XYZ views instead of the ALL_XYZ views.- Returns:
- possible object is
Boolean
-
setOracleUseDBAViews
Sets the value of the oracleUseDBAViews property.- Parameters:
value- allowed object isBoolean
-
getLogSlowQueriesAfterSeconds
The number of seconds that are considered "slow" before a query is logged to indicate a bug, 0 for not logging. -
setLogSlowQueriesAfterSeconds
The number of seconds that are considered "slow" before a query is logged to indicate a bug, 0 for not logging. -
getLogSlowResultsAfterSeconds
The number of seconds that are considered "slow" before a result set is logged to indicate a bug, 0 for not logging. -
setLogSlowResultsAfterSeconds
The number of seconds that are considered "slow" before a result set is logged to indicate a bug, 0 for not logging. -
getProperties
-
setProperties
-
getComments
-
setComments
-
getCatalogs
-
setCatalogs
-
getSchemata
-
setSchemata
-
getEmbeddables
-
setEmbeddables
-
getCustomTypes
Deprecated. -
setCustomTypes
Deprecated. -
getEnumTypes
Deprecated. -
setEnumTypes
Deprecated. -
getForcedTypes
-
setForcedTypes
-
withName
The database dialect from jooq-meta. Available dialects are namedorg.util.[database].[database]Database.Natively supported values are:
-
invalid @link
org.jooq.meta.ase.ASEDatabase -
invalid @link
org.jooq.meta.cockroachdb.CockroachDBDatabase -
invalid @link
org.jooq.meta.db2.DB2Database DerbyDatabaseFirebirdDatabaseH2Database-
invalid @link
org.jooq.meta.hana.HanaDatabase HSQLDBDatabase-
invalid @link
org.jooq.meta.informix.InformixDatabase -
invalid @link
org.jooq.meta.ingres.IngresDatabase MariaDBDatabaseMySQLDatabase-
invalid @link
org.jooq.meta.oracle.OracleDatabase PostgresDatabase-
invalid @link
org.jooq.meta.redshift.RedshiftDatabase SQLiteDatabase-
invalid @link
org.jooq.meta.sqlserver.SQLServerDatabase -
invalid @link
org.jooq.meta.sybase.SybaseDatabase -
invalid @link
org.jooq.meta.vertica.VerticaDatabase YugabyteDBDatabase
This value can be used to reverse-engineer generic JDBC DatabaseMetaData (e.g. for MS Access).
This value can be used to reverse-engineer standard jOOQ-meta XML formats.
This value can be used to reverse-engineer JPA annotated entities
-
invalid @link
org.jooq.meta.extensions.jpa.JPADatabase
You can also provide your own org.jooq.meta.Database implementation here, if your database is currently not supported
-
-
withRegexFlags
The flags that will be applied to all regular expressions from this configuration by default.The default value is "COMMENTS CASE_INSENSITIVE"Gets the value of the regexFlags property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the regexFlags property.For example, to add a new item, do as follows:
getRegexFlags().add(newItem);Objects of the following type(s) are allowed in the list
RegexFlag -
withRegexFlags
The flags that will be applied to all regular expressions from this configuration by default.The default value is "COMMENTS CASE_INSENSITIVE"Gets the value of the regexFlags property.
This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the regexFlags property.For example, to add a new item, do as follows:
getRegexFlags().add(newItem);Objects of the following type(s) are allowed in the list
RegexFlag -
withRegexMatchesPartialQualification
-
withSqlMatchesPartialQualification
-
withIncludes
All elements that are generated from your schema.This is a Java regular expression. Use the pipe to separate several expressions. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags(). -
withIncludeSql
All elements that are generated from your schema.This is a query that produces Java regular expressions, which are appended to the ones produced by includes. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags().Excludes match before includes, i.e. excludes have a higher priority.
-
withExcludes
All elements that are excluded from your schema.This is a Java regular expression. Use the pipe to separate several expressions. Excludes match before includes, i.e. excludes have a higher priority.
-
withExcludeSql
All elements that are excluded from your schema.This is a query that produces Java regular expressions, which are appended to the ones produced by excludes. Watch out for case-sensitivity. Depending on your database, this might be important!
You can create case-insensitive regular expressions using this syntax:
(?i:expr)Whitespace is ignored and comments are possible unless overridden in
getRegexFlags().Excludes match before includes, i.e. excludes have a higher priority.
-
withIncludeExcludeColumns
-
withIncludeExcludePackageRoutines
-
withIncludeTables
-
withIncludeEmbeddables
-
withIncludeRoutines
-
withIncludeTriggerRoutines
-
withIncludePackages
-
withIncludePackageRoutines
-
withIncludePackageUDTs
-
withIncludePackageConstants
-
withIncludeXMLSchemaCollections
-
withIncludeUDTs
-
withIncludeDomains
-
withIncludeSequences
-
withIncludeIndexes
-
withIncludePrimaryKeys
-
withIncludeUniqueKeys
-
withIncludeForeignKeys
-
withIncludeCheckConstraints
-
withIncludeSystemTables
-
withIncludeSystemIndexes
-
withIncludeSystemCheckConstraints
-
withIncludeSystemSequences
-
withIncludeSystemUDTs
-
withIncludeInvisibleColumns
-
withRecordVersionFields
All table and view columns that are used as "version" fields for optimistic locking.This is a Java regular expression. Use the pipe to separate several expressions. See
UpdatableRecord.store()andUpdatableRecord.delete()for details about optimistic locking. -
withRecordTimestampFields
All table and view columns that are used as "timestamp" fields for optimistic locking.This is a Java regular expression. Use the pipe to separate several expressions. See
UpdatableRecord.store()andUpdatableRecord.delete()for details about optimistic locking. -
withSyntheticObjects
The synthetic objects configuration. -
withSyntheticIdentities
A regular expression matching all columns that represent identities.To be used if columns are not detected as automatically as identities.
-
withSyntheticPrimaryKeys
A regular expression matching all columns that participate in "synthetic" primary keys, which should be placed on generatedUpdatableRecordTo be used with:
Synthetic primary keys will override existing primary keys.
-
withOverridePrimaryKeys
All (UNIQUE) key names that should be used instead of primary keys on generatedUpdatableRecord.To be used with:
If several keys match, a warning is emitted and the first one encountered will be used.
This flag will also replace synthetic primary keys, if it matches.
-
withDateAsTimestamp
-
withIgnoreProcedureReturnValues
-
withUnsignedTypes
-
withIntegerDisplayWidths
-
withInputCatalog
The catalog that is used locally as a source for meta information.This cannot be combined with the
getCatalogs()configuration element. If left empty (and without anygetCatalogs()configuration element), jOOQ will generate all available catalogs. -
withOutputCatalog
The catalog that is used in generated source code.Use this to override your local development catalog name for source code generation. If not specified, this will be the same as
getInputCatalog()This will be ignored if
isOutputCatalogToDefault()is set to true -
withOutputCatalogToDefault
-
withInputSchema
The schema that is used locally as a source for meta information.This cannot be combined with the
getSchemata()configuration element. If left empty (and without anygetSchemata()configuration element), jOOQ will generate all available schemata. -
withOutputSchema
The schema that is used in generated source code.Use this to override your local development schema name for source code generation. If not specified, this will be the same as
getInputSchema(). This will be ignored ifisOutputSchemaToDefault()is set to true -
withOutputSchemaToDefault
-
withSchemaVersionProvider
A custom version number that, if available, will be used to assess whether thegetInputSchema()will need to be regenerated.There are three operation modes for this element:
- The value is a class that can be found on the classpath and that implements
SchemaVersionProvider. Such classes must provide a default constructor - The value is a SELECT statement that returns one record with one column. The SELECT statement may contain a named variable called :schema_name
- The value is a constant, such as a Maven property
Schema versions will be generated into the
Generatedannotation on generated artefacts. - The value is a class that can be found on the classpath and that implements
-
withCatalogVersionProvider
A custom version number that, if available, will be used to assess whether thegetInputCatalog()from a given catalog will need to be regenerated.There are three operation modes for this element:
- The value is a class that can be found on the classpath and that implements
CatalogVersionProvider. Such classes must provide a default constructor - The value is a SELECT statement that returns one record with one column. The SELECT statement may contain a named variable called :catalog_name
- The value is a constant, such as a Maven property
Catalog versions will be generated into the
Generatedannotation on generated artefacts. - The value is a class that can be found on the classpath and that implements
-
withOrderProvider
A customComparatorthat can compare twoDefinitionobjects to determine their order.This comparator can be used to influence the order of any object that is produced by jOOQ meta, and thus, indirectly, the order of declared objects in generated code.
-
withEmbeddablePrimaryKeys
A regular expression matching all primary key declarations for which wrapper types should be generated, and for their referencing foreign keys.This feature is available in the commercial distribution only.
-
withEmbeddableUniqueKeys
A regular expression matching all unique key declarations for which wrapper types should be generated, and for their referencing foreign keys.This feature is available in the commercial distribution only.
-
withEmbeddableDomains
A regular expression matching all domain type declarations for which wrapper types should be generated.This feature is available in the commercial distribution only.
-
withReadonlyIdentities
-
withReadonlyComputedColumns
-
withReadonlyNonUpdatableColumns
-
withForcedTypesForBuiltinDataTypeExtensions
-
withForcedTypesForXMLSchemaCollections
-
withForceIntegerTypesOnZeroScaleDecimals
-
withTableValuedFunctions
-
withOracleUseDBAViews
-
withLogSlowQueriesAfterSeconds
The number of seconds that are considered "slow" before a query is logged to indicate a bug, 0 for not logging. -
withLogSlowResultsAfterSeconds
The number of seconds that are considered "slow" before a result set is logged to indicate a bug, 0 for not logging. -
withProperties
-
withProperties
-
withProperties
-
withComments
-
withComments
-
withComments
-
withCatalogs
-
withCatalogs
-
withCatalogs
-
withSchemata
-
withSchemata
-
withSchemata
-
withEmbeddables
-
withEmbeddables
-
withEmbeddables
-
withCustomTypes
Deprecated. -
withCustomTypes
Deprecated. -
withCustomTypes
Deprecated. -
withEnumTypes
Deprecated. -
withEnumTypes
Deprecated. -
withEnumTypes
Deprecated. -
withForcedTypes
-
withForcedTypes
-
withForcedTypes
-
appendTo
- Specified by:
appendToin interfaceXMLAppendable
-
toString
-
equals
-
hashCode
public int hashCode()
-