InformationPhotography |
Thursday, May 4. 2006Hibernate Annotations Schema HandlingTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I was getting this same error when using the HibernateToolTask with Ant. My solution was to rename the 'configuration' element to 'annotationconfiguration' and that's it.
In addition to change the element in hibernate.cfg.xml, need to change it in HibernateUtil.java
To further clarify what this posting was all about, the complaint here is that there is no easy way to dump the ddl of annotated classes from the command line. This bug was reported, but the hibernate team rejected it, their solution being to use a complicated ant task or write your own program as a wrapper. This defeats the whole point of having an easy class for dumping ddl from the command line.
The rejected bug: http://opensource.atlassian.com/projects/hibernate/browse/HBX-732 |
QuicksearchLexiyntax @ Twitter
Categories |