Member Menu
 
 Monthly JBoss newsletter:
 
Java Persistence with Hibernate
CaveatEmptor

Hibernate Tools for Eclipse and Ant

Project Lead: Max R. Andersen
Contributors: Mark Hobson, Marshall Culpepper, David Channon, Joe Hudson and others
Latest release: 3.2.2.Beta1 (What's New?)
Release date: 09.04.2008
Update site: Hibernate Tools only & JBoss Tools
Nightly Build: JBoss Tools
Documentation: Reference, Viewlets, Build & Contribute, Migration Guide
Requirements: Eclipse WTP 3.3/2.x or Ant, Decent driver and database

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:

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 Hibernate3 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.

See the Road Map for more information about future releases and planned features.

© Copyright 2006, Red Hat Middleware, LLC. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc. [Privacy Policy]