New Features
Enhanced Features
O/R Mapping
Tips and Tricks
UML Diagrams
VP Suite

Hibernate annotations support in ORM persistence

Our Object-Relational Mapping (ORM) persistence technology generates Java code that helps you manipulate relational database records in an object-oriented way. Now a new option is provided for generating code with Hibernate annotations.

Generating ORM Code

  1. Select menu Tools > Object-Relational Mapping (ORM) > Generate Code....
  2. In the Database Code Generation dialog box, select “Code only” in Generate, “Java” in Language, and specify output directory in Output Path. To enable Hibernate annotations to be generated, select “Annotation” in Mapping Type.
  3. The Java source files are generated to the output directory. You can see that Hibernate annotations are generated.

Resource

 
 
Last modified: 2007/04/20 01:14
 
 
Home | Recent Topics | Highlights | UML Diagrams | Tips and Tricks | Object-Relational Mapping
visual-paradigm.com Home | Training Center | UML Center | VP Gallery | Discussion Forum | UML Open Directory