Database connections for database access implementation

Allows you to determine database metadata without @DataType and @EntityMapping annotations.

Instead of using the Java™ annotations, the code generator can use a connection to the database to discover database metadata during code generation. This means that the parameter lists and result columns for all queries can be determined without the @DataType and @EntityMapping annotations. This method may be more convenient when defining query extensions, or data extensions that override the base queries.

To use this method you need a DB2® database and the database tables referred to by the Data interfaces must be deployed and accessible. To generate the database access implementation classes, you must create a connection to your database, and then set properties in the mdmgen.properties file within your module project.



Last updated: 23 October 2014