Part I. Getting started

Part II. UML modeling

Part III. Project glossary

Part IV. BPMN toolset

Part V. Project management

Part VI. Modeling toolset

Part VII. ArchiMate tools

Part VIII. Team collaboration

Part IX. Code engineering

Part X. Database design and engineering

Part XI. Advanced modeling toolset

Part XII. Document production

Part XIII. Business modeling

Part XIV. Business rule

Part XV. Agile development

Part XVI. Wireframe

Part XVII. Impact analysis

Part XVIII. CMMN toolset

Part XIX. SoaML modeling

Part XX. Design animation

Part XXI. IDE Integration

Part XXII. Interoperability and integration

Part XXIII. Process simulation

Part XXIV. Zachman and BMM

Part XXV. Appendix A - Application Options

Part XXVI. Appendix B - Project Options

Part XXVII. Appendix C

 

What is the Persistent API Setting?

The persistent API setting supports various styles for generated code. It can be configurated in Database Code Generation dialog box.

Persistent API setting
Persistent API setting

Static methods

Static methods generate all persistent methods in the persistent class, client can access the methods in the same persistent object.

Static methods
Static methods

Factory class

Factory class generates save/delete/refresh methods in persistent class, other persistent methods that return persistent object are generated in factory class.

Factory class
Factory class

DAO

DAO generates all persistent methods in DAO class, a DAO class is generate for each persistent class.

DAO
DAO

DAO (with interface)

DAO (with Interface) generates all persistent methods signature in DAO interface. A DAO interface is generate for each persistent class, and a corresponding DAO implementation class is generated with default persistent implement.

DAO (with Interface)
DAO (with Interface)

POJO

POJO generate persistent object in Plain Old Java Object style, without generating any persistent methods. Client can access persistent methods in PersistentManager object.

POJO
POJO

Mapping only

Mapping only does not generate any code, it only generates the XML mapping file required for ORM.

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
2. Lazy collection setting Table of Contents 4. Using generated code

We use cookies to offer you a better experience. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.OK