Class FacelessJooqConfProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = FacelessJooqConfProp.Key) public class FacelessJooqConfProp
wings-jooq-conf-79.properties
- Since:
2021-02-13
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic final static StringKey$autoQualifypublic final static StringKey$batchMysqlpublic final static StringKey$converterpublic final static StringKey$journalDeletepublic final static StringKey$listenCudpublic final static StringKey$renderGroupConcatpublic final static StringKey$renderCatalogpublic final static StringKey$renderSchemapublic RenderTablerenderTablepublic final static StringKey$renderTable
-
Constructor Summary
Constructors Constructor Description FacelessJooqConfProp()
-
Method Summary
Modifier and Type Method Description RenderTablegetRenderTable()Whether any table name qualification should be rendered at all on columns. voidsetRenderTable(RenderTable renderTable)Whether any table name qualification should be rendered at all on columns. booleanisAutoQualify()whether to enable jooq auto qualify. booleanisBatchMysql()whether to use efficient mysql syntax when performing bulk inserts via Dao. booleanisConverter()whether to inject global converters, recommended in Table. booleanisJournalDelete()when deleting with commit_id, whether to update first and then delete. booleanisListenCud()whether to listen to table's create/update/delete. booleanisRenderGroupConcat()whether the jOOQ `GROUP_CONCAT` function should be overflow-protected by setting the `@@group_concat_max_len` session variable in MySQL style database MySQL truncates <`GROUP_CONCAT` results after a certain length, which may be way too small for jOOQ's usage, especially when using the `MULTISET` emulation. By default, jOOQ sets a session variable to the highest possible value prior to executing a query containing `GROUP_CONCAT`. This flag can be used to opt out of this. - issues/12092 - mysqls-allowmultiqueries-flag-with-jdbc-and-jooq - settings-group-concatbooleanisRenderCatalog()whether any catalog name should be rendered at all. booleanisRenderSchema()whether any schema name should be rendered at all. booleanequals(@Nullable() Object o)inthashCode()StringtoString()voidsetAutoQualify(boolean autoQualify)whether to enable jooq auto qualify. voidsetBatchMysql(boolean batchMysql)whether to use efficient mysql syntax when performing bulk inserts via Dao. voidsetConverter(boolean converter)whether to inject global converters, recommended in Table. voidsetJournalDelete(boolean journalDelete)when deleting with commit_id, whether to update first and then delete. voidsetListenCud(boolean listenCud)whether to listen to table's create/update/delete. voidsetRenderGroupConcat(boolean renderGroupConcat)whether the jOOQ `GROUP_CONCAT` function should be overflow-protected by setting the `@@group_concat_max_len` session variable in MySQL style database MySQL truncates <`GROUP_CONCAT` results after a certain length, which may be way too small for jOOQ's usage, especially when using the `MULTISET` emulation. By default, jOOQ sets a session variable to the highest possible value prior to executing a query containing `GROUP_CONCAT`. This flag can be used to opt out of this. - issues/12092 - mysqls-allowmultiqueries-flag-with-jdbc-and-jooq - settings-group-concatvoidsetRenderCatalog(boolean renderCatalog)whether any catalog name should be rendered at all. voidsetRenderSchema(boolean renderSchema)whether any schema name should be rendered at all. -
-
Method Detail
-
getRenderTable
RenderTable getRenderTable()
Whether any table name qualification should be rendered at all on columns. Setting when tables aren't rendered, then implicitly, schemas and catalogs aren't rendered either. The following values are available: RenderTable.ALWAYS: The default, which should always be preferred. Columns are always qualified with their tables, where possible. RenderTable.WHEN_MULTIPLE_TABLES: The simplest option to reduce generated query verbosity, avoiding table qualification only in queries with a single table in the FROM clause. RenderTable.WHEN_AMBIGUOUS_COLUMNS: A much more expensive to compute option that checks the FROM clause for ambiguous column names, in case of which columns are qualified. RenderTable.NEVER: Always turn off table qualification. Use this when verbosity of rendered SQL is a problem.
-
setRenderTable
void setRenderTable(RenderTable renderTable)
Whether any table name qualification should be rendered at all on columns. Setting when tables aren't rendered, then implicitly, schemas and catalogs aren't rendered either. The following values are available: RenderTable.ALWAYS: The default, which should always be preferred. Columns are always qualified with their tables, where possible. RenderTable.WHEN_MULTIPLE_TABLES: The simplest option to reduce generated query verbosity, avoiding table qualification only in queries with a single table in the FROM clause. RenderTable.WHEN_AMBIGUOUS_COLUMNS: A much more expensive to compute option that checks the FROM clause for ambiguous column names, in case of which columns are qualified. RenderTable.NEVER: Always turn off table qualification. Use this when verbosity of rendered SQL is a problem.
-
isAutoQualify
boolean isAutoQualify()
whether to enable jooq auto qualify.
-
isBatchMysql
boolean isBatchMysql()
whether to use efficient mysql syntax when performing bulk inserts via Dao.
-
isConverter
boolean isConverter()
whether to inject global converters, recommended in Table.
-
isJournalDelete
boolean isJournalDelete()
when deleting with commit_id, whether to update first and then delete.
-
isListenCud
boolean isListenCud()
whether to listen to table's create/update/delete.
-
isRenderGroupConcat
boolean isRenderGroupConcat()
whether the jOOQ `GROUP_CONCAT` function should be overflow-protected by setting the `@@group_concat_max_len` session variable in MySQL style database MySQL truncates <`GROUP_CONCAT` results after a certain length, which may be way too small for jOOQ's usage, especially when using the `MULTISET` emulation. By default, jOOQ sets a session variable to the highest possible value prior to executing a query containing `GROUP_CONCAT`. This flag can be used to opt out of this. - issues/12092 - mysqls-allowmultiqueries-flag-with-jdbc-and-jooq - settings-group-concat
-
isRenderCatalog
boolean isRenderCatalog()
whether any catalog name should be rendered at all. Use this for single-catalog environments, or when all objects are made available using synonyms
-
isRenderSchema
boolean isRenderSchema()
whether any schema name should be rendered at all. Setting this to false also implicitly sets "renderCatalog" to false. Use this for single-schema environments, or when all objects are made available using synonyms
-
hashCode
int hashCode()
-
setAutoQualify
void setAutoQualify(boolean autoQualify)
whether to enable jooq auto qualify.
-
setBatchMysql
void setBatchMysql(boolean batchMysql)
whether to use efficient mysql syntax when performing bulk inserts via Dao.
-
setConverter
void setConverter(boolean converter)
whether to inject global converters, recommended in Table.
-
setJournalDelete
void setJournalDelete(boolean journalDelete)
when deleting with commit_id, whether to update first and then delete.
-
setListenCud
void setListenCud(boolean listenCud)
whether to listen to table's create/update/delete.
-
setRenderGroupConcat
void setRenderGroupConcat(boolean renderGroupConcat)
whether the jOOQ `GROUP_CONCAT` function should be overflow-protected by setting the `@@group_concat_max_len` session variable in MySQL style database MySQL truncates <`GROUP_CONCAT` results after a certain length, which may be way too small for jOOQ's usage, especially when using the `MULTISET` emulation. By default, jOOQ sets a session variable to the highest possible value prior to executing a query containing `GROUP_CONCAT`. This flag can be used to opt out of this. - issues/12092 - mysqls-allowmultiqueries-flag-with-jdbc-and-jooq - settings-group-concat
-
setRenderCatalog
void setRenderCatalog(boolean renderCatalog)
whether any catalog name should be rendered at all. Use this for single-catalog environments, or when all objects are made available using synonyms
-
setRenderSchema
void setRenderSchema(boolean renderSchema)
whether any schema name should be rendered at all. Setting this to false also implicitly sets "renderCatalog" to false. Use this for single-schema environments, or when all objects are made available using synonyms
-
-
-
-