JBoss.orgCommunity Documentation
Hibernate Tools is a collection of tools for Hibernate 3 and related projects. The tools provide Ant tasks and Eclipse plugins for performing reverse engineering, code generation, visualization and interaction with Hibernate.
The table below lists the key features found in Hibernate Tools.
Table 1.1. Key Functionality for Hibernate Tools
Feature | Benefit | Chapter |
---|---|---|
Code Generation through Ant Task |
Allows to generate mapping or Java code through reverse engineering, schema generation and generation of other artifacts during the build process. | Chapter 5, Ant Tools |
Wizards for creation purposes and code generation |
A set of wizards are provided with the Hibernate Eclipse Tools™ to quickly create common Hibernate™ files such as configuration ( | Section 4.2, “Creating a Hibernate Mapping File” Section 4.3, “Creating a Hibernate Configuration File” Section 4.5.1, “Code Generation Launcher” |
Mapping and Configuration files Editors |
Support auto-completion and syntax highlighting. Editors also support semantic auto-completion for class names and property/field names, making it much more versatile than a normal XML editor. | Section 4.6, “Hibernate Mapping and Configuration File Editor” |
Tools for organizing and controlling Reverse Engineering |
The Code Generation wizard provides powerful functionality for generating a series of various artifacts such as domain model classes, mapping files, and annotated EJB3 entity beans, and the | Section 4.5.1, “Code Generation Launcher” Section 4.9, “Reveng.xml Editor” |
Hibernate Console |
It is a new perspective in Eclipse which provides an overview of your Hibernate Console configurations, and were you also can get an interactive view of your persistent classes and their relationships. The console allows you to execute HQL queries against your database and browse the result directly in Eclipse. | Section 4.10, “Hibernate Console Perspective” |
HQL Editor and Hibernate Criteria Editor |
The editors are provided for writing, editing and executing HQL queries and criterias. They also have the ability to generate simple queries. | Section 4.10.2.1, “HQL Editor and Hibernate Criteria Editor” |
Functional Mapping Diagram |
Makes possible to visualize the structure of entities and the relationships between them. | Section 4.10.1.1, “Mapping Diagram” |
Eclipse JDT integration |
Hibernate Tools™ integrates into the Java code completion and build support for Java in Eclipse. This gives you HQL code completion inside Java code. Additionally, Hibernate Tools™ will display problem markers if your queries are not valid against the console configuration associated with the project. |
The Hibernate Tools™ page on hibernate.org.
All JBDS™ release documentation can be found on the RedHat Documentation website.
There is some additional information on Hibernate™ on the JBoss Wiki page.
Nightly documentation builds are available here.