Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3
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 4.1.9
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
For a <one-to-many> relationship between 2 Objects, Hibernate requires for Lists an index column in the table of the child elements.
As explained in the documentation : “For lists, this column contains sequential integers numbered from zero. Make sure that your index really starts from zero if you have to deal with legacy data”.
Does Hibernate3 implement a mechanism to automatically generate / determine the index value to be set into the database_table.
If yes, howtodo ?
Thanks a lot for any hints that could help.
Cheers,
Laurent