Working with Hibernate is very easy and developers enjoy using the APIs and the query language. Even creating mapping metadata is not an overly complex task once you’ve mastered the basics. Hibernate Tools makes working with Hibernate or EJB 3.0 persistence even more pleasant.
Hibernate Tools is an entirely new toolset for Hibernate3 (see this page for an overview of the Hibernate 2.x toolset), implemented as an integrated suite of Eclipse plugins, together with a unified Ant task for integration into the build cycle. Hibernate Tools is a core component of JBoss Tools and hence also part of JBoss Developer Studio. See the documentation and screenshots for more information or download Hibernate Tools now!
The following features are available within Eclipse:
The following features are available within
Mapping Editor: An editor for Hibernate XML mapping files, supporting auto-completion and syntax highlighting. The editor even supports semantic auto-completion for class names, property/field names, table names and column names.
Console: The Hibernate Console perspective allows you to configure database connections, provides visualization of classes and their relationships and allows you to execute HQL queries interactively against your database and browse the query results.
Reverse Engineering: The most powerful feature of Hibernate Tools is a database reverse engineering tool that can generate domain model classes and Hibernate mapping files, annotated EJB3 entity beans, HTML documentation or even an entire JBoss Seam application in seconds!
Wizards: Several wizards are provided, including wizards to quickly generate Hibernate configuration (cfg.xml) files, and Hibernate console configurations.
Ant task: The Hibernate 3 tools include a unified Ant task that allows you to run schema generation, mapping generation, or Java code generation as part of your build. See the documentation for more information.