Generating Object-Relational Mapping Code

In this chapter, you will learn how to generate object-relational mapping (ORM) code for accessing database.


Generating code and database

Generate ORM tier and the necessary Java source files for accessing database.


Lazy collection setting

Description of lazy collection setting - a setting for improving application performance by loading up less objects to memory when necessary.


Persistent API

Introduce several available types of persistent API.


Using generated code

Provide you with samples of using the generated code.


Customizing getter and setter body

Specify the method body of getter and setter for persistent classes to be generated upon ORM code generation.

 

 
1. Reversing POJO Table of Contents 1. Generating code and database