[#4825] Default for <tableValuedFunctions/> depends on database
This commit is contained in:
parent
c902b950bb
commit
d818f06281
@ -483,6 +483,13 @@ public class GenerationTool {
|
||||
if (g.getDatabase().isTableValuedFunctions() != null)
|
||||
generator.setGenerateTableValuedFunctions(g.getDatabase().isTableValuedFunctions());
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Generator properties that should in fact be strategy properties
|
||||
strategy.setInstanceFields(generator.generateInstanceFields());
|
||||
|
||||
|
||||
@ -550,9 +550,12 @@
|
||||
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
|
||||
and VARRAY types in Oracle.
|
||||
|
||||
While this flag defaults to true for most databases, it defaults to false
|
||||
for Oracle.
|
||||
-->
|
||||
<element name="tableValuedFunctions" type="boolean" default="false" minOccurs="0" maxOccurs="1" />
|
||||
<element name="tableValuedFunctions" type="boolean" default="true" minOccurs="0" maxOccurs="1" />
|
||||
</all>
|
||||
</complexType>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user