Wednesday, February 11, 2009

openJPA Enhance, Mapping and Reverse Mapping Tool

java org.apache.openjpa.enhance.PCEnhancer

Mapping Tool: generate tables based on the entity classes and the annotations on them.
java org.apache.openjpa.jdbc.meta.MappingTool

Reverse Mapping Tool: generate the entity classes based on the tables from database
java org.apache.openjpa.jdbc.meta.ReverseMappingTool -pkg example.openjpa.reverse -d src/main/java -annotations true

No comments:

Post a Comment