GeekArticles
Java
J2SE
Java
J2SEHibernate Class Generation Using hbm2java
Hibernate uses mapping files to express the mapping of Java classes to database tables. In a complex project, keeping mappings in sync with your Java code can be burdensome and error-prone. Fortunately, the
hbm2java tool can automate this by generating POJO classes from the mapping files. John Ferguson Smart shows how to use hbm2java with Ant and Maven, and how to customize the behavior of the generated classes.
Sponsored Links
Related Topics
Subscribe via RSS
J2SE
- An annotation-based persistence framework
- Using Drools in Your Enterprise Java Application
- Introduction to the ASM 2.0 Bytecode Framework
- Important Notice for ONJava Readers About O'Reilly RSS and Atom Feeds
- Hacking Swing with Undocumented Classes and Properties
- iBatis DAO
- Hibernate 3 Formulas
- Give Your Business Logic a Framework with Drools
- Web Services Messaging with Apache Axis2: Concepts and Techniques
- Eclipse Plugins Exposed, Part 3: Customizing a Wizard
