Hibernate version: 3.2.1
Hi I'm using the ANT "hibernatetool" task to reverse engineer JDK 5 compliant code with ejb 3 annotations from a JDBC connection to a SQLServer 2005 instance.
It's more of an annoyance really but currently hibernate is generating set collections for relationships and we would prefer to it to use a list collection instead.
I've had a look at
http://www.hibernate.org/hib_docs/annot ... ntity.html section 2.1, Collections semantics and the requirements for a set and bag semantic is the same. So to me it seems reasonable for hibernate to generate either a set or list in this situation.
Does anyone know how to setup a general rule within hibernate.reveng.xml that will force hibernate to a list collection as opposed to a set collection.
cheers