Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Hibernate 3.1.1
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
MySQL
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
I have legacy schema that I want to reverse enginner into Hibernate POJO classes. And I'd like to use XDoclet tags in the POJO's to describe the O/R mappings. Is there a tool that can generate the xdoclet tags for me, from the schema?
Hibernate Tools 3.2 Beta 8 doesn't do that. I read that Middlegen2 can generate xdoclet, but wonder if it works for Hibernate 3?
Another way is to potentially generate xdoclet from the mapping files (that I generated with Hibernate Tools 3.2). Anybody knows such tools exist?
thanks,
Jia