Skip to the content.
Config Home Docs Home

<daogen-config/> reference

This is the reference for ‘daogen-config’ element configuration and its attributes.

daogen-config attributes quick reference
Attribute Description
base-src-folder The base source folder to use for generating the code
database-type The database product used
gen-version The version that will be written in generated code content.
gen-author The author that will be written in generated code content.
src-main-java Relative path to ${base-src-folder} for java resources.
src-test-java Relative path to ${base-src-folder} for test java resources.
src-main-resources Relative path to ${base-src-folder} for resources.
src-test-resources Relative path to ${base-src-folder} for test resources.
src-doc-openapi Src folder for YAML openapi helper definitions.
src-helpers Folder for helper classes (default is the same as ${src-main-java})
class-config Basic class for generating code
type-mapper The java2sql TypeMapper
type-map-config The mapping for java types
generator-catalog List of generators to use (see Generator Catalog Guide)
decorator-catalog List of decorators to use
default-column-time-insert Column name for the creation time of the entity
default-column-time-update Column name for the last update time of the entity
struct-prefix Prefix for data base user type (struct)
package-model
package-helper
package-struct
package-rse
package-facade-def
package-facade-data-impl
package-rest-load
factory-def
factory-data-impl
base-rest-service
openapi_host
openapi_path
default-sequence


top

Attribute base-src-folder
Default . (current folder)
Example ../fj-daogen-sample
Since 0.4.1.11


top

Attribute database-type
Default no default
Example oracle, postgres, mysql, db2<
Since 0.4.1.11


top

Attribute gen-version
Default no default
Example 1.0 (2020-11-10)
Since 0.4.1.11


top

Attribute gen-author
Default no default
Example John Smith - jsmith@mail.com
Since 0.4.1.11


top

Attribute src-main-java
Default ${base-src-folder}/src/main/java
Since 0.4.1.11


top

Attribute src-test-java
Default ${base-src-folder}/src/test/java
Since 0.4.1.11


top

Attribute src-main-resources
Default ${base-src-folder}/src/main/resources
Since 0.4.1.11


top

Attribute src/test/resources
Default ${base-src-folder}/src/test/resources
Since 0.4.1.11


top

Attribute src-doc-openapi
Default ${base-src-folder}/src/main/doc/openapi_rest
Since 0.4.1.11


top

Attribute src-helpers
Default SRC-MAIN-JAVA
Since 0.4.1.11


top

Attribute class-config
Default cl://config/daogen_default_class_config.xml
Since 0.4.1.11


top

Attribute type-mapper
Default org.fugerit.java.daogen.base.config.DaogenTypeMapper
Since 0.4.1.11


top

Attribute type-map-config
Default cl://config/daogen_default_type_mapping.xml
Since 0.4.1.11


top

Attribute generator-catalog
Default cl://config/default-generator-catalog.xml
Since 0.4.1.11


top

Attribute decorator-catalog
Default cl://config/default-decorator-catalog.xml
Since 0.4.1.11


top

Attribute default-column-time-insert
Default no default
Example creation_time
Since 0.4.1.11


top

Attribute default-column-time-update
Default no default
Example update_time
Since 0.4.1.11


top

Attribute struct-prefix
Default UT_
Example OBJ_
Since 0.4.1.11


top

Attribute package-model
Default no default
Example org.fugerit.java.daogen.sample.def.model
Since 0.4.1.11


top

Attribute package-helper
Default no default
Example org.fugerit.java.daogen.sample.impl.helper
Since 0.4.1.11


top

Attribute package-struct
Default no default
Example org.fugerit.java.daogen.sample.impl.struct
Since 0.4.1.11


top

Attribute package-rse
Default no default
Example org.fugerit.java.daogen.sample.impl.rse
Since 0.4.1.11


top

Attribute package-facade-def
Default no default
Example org.fugerit.java.daogen.sample.def.facade
Since 0.4.1.11


top

Attribute package-facade-data-impl
Default no default
Example org.fugerit.java.daogen.sample.impl.facade.data
Since 0.4.1.11


top

Attribute package-rest-load
Default no default
Example org.fugerit.java.daogen.sample.impl.rest.load
Since 0.4.1.11


top

Attribute factory-def
Default no default
Example org.fugerit.java.daogen.sample.def.facade.FugeritLogicFacade
Since 0.4.1.11


top

Attribute factory-data-impl
Default no default
Example org.fugerit.java.daogen.sample.impl.facade.data.FugeritDataLogicFacade
Since 0.4.1.11


top

Attribute base-rest-service
Default no default
Example
Since 0.4.1.11


top

Attribute openapi_host
Default no default
Example http://localhost:9080
Since 0.4.1.11


top

Attribute openapi_path
Default no default
Example
Since 0.4.1.11


top

Attribute default-sequence
Default no default
Example SEQ_SAMPLE
Since 0.4.1.11