Hibernate Tools 3.2.0.beta10 - New and Noteworthy

Previous new and noteworthy for 3.2.0.beta9

Release notes


General


Eclipse 3.3 and Java 5

This release is compatible with Eclipse 3.2/WTP 1.5 and Eclipse 3.3/WTP 2.0. Remember to use Java 5 VM when running Eclipse 3/WTP 2.0.


Seam 0.x templates removed

The Seam templates were getting to much out of date and have now been removed to avoid confusion.

Use seam-gen or JBoss Seam Tools to get proper Seam application generation (both of these tools uses hibernate tools to implement their functionallity)


Reverse Engineering


Auto-detection of identification strategy

Previously the default identifier strategy was always "assigned" and if users wanted it differently had to be explicit about what strategy they want to use. The core can now detect the default identifier strategy if the MetaDataDialect supports the underlying database.

Support for MySQL and H2 is included in this version.

If you want to see your database added (or improve the existing ones) then visit HBX-935 and add a jira task with details/patch on what meta data to read to detect the identifcation strategy.


Configuration


JPA auto detected

If a META-INF/persistence.xml exist in the selected project when a new Hibernate Console Configuration is created JPA is now assumed.


Properties always overrides

The Ant and Eclipse setup were not always in sync on when the properties found in the properties files or custom properties would take effect.

In this release if a user points to a property file it is *always* used for overriding any settings found in /hibernate.properties, hibernate.cfg.xml's and persistence.xml; this allow you to use the existing configuration but only override the really different parts; e.g. specify JDBC connection properties to override the datasource which neither eclipse nor ant can reference.