Platforms
Mac OS X Mac OS X
Windows Windows
Linux Linux

Oracle
Sybase
SQL Server
DB2
PostgreSQL
SQLite

J2EE Code Generator

The J2EE code generator tool allows you to generate Java code for a persistence tier from existing tables in your database. The tool will reverse-engineer your tables into EJB 3.0 annotated Java classes or JDBC access layer code. The following output formats are currently supported:

This feature can be used with any database supported by DB Solo; Oracle, DB2, Sybase, Microsoft SQL Server, MySQL, Vertica, PostgreSQL and Solid.

For detailed information about the feature, please view the User Documentation.


Configuration

The code generator provides dozens of configuration parameters that allow you to tweak the output of the tool. Configuration options contain both generic properties as well as object-specific attirbutes, such as which columns will code be generated for.

The J2EE code generator also contains a configurable Java pretty-printer that will process all output files so that they will adhere to the coding standars of your organization.

Figure - General Settings

The object level setting screen allows you to change the behavior of individual classes and their properties and relationships.

Figure - Object Level Settings

Output

The generated output files can be viewed in the generator tool itself, a feature that allows you to look at the output, go back in the wizard to modify your settings and regenerate the files using the new settings.

Forums

Copyright © 2004-2025 DB Solo LLC. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /