Hi, I was trying to convert my existing Hibernate mappings into the DSL in Sculptor, and I was having some problems with certain keywords and features:
1. Is there a "unique" keyword for a property? I want to set unique="true". The Hibernate documentation is here: http://www.hibernate.org/hib_docs/reference/en/html/mapping.html#mapping-declaration-property It is to "Enable the DDL generation of a unique constraint for the columns." 2. Is there a "lazy" keyword for a reference? I'd like to set lazy="false" for at least the many-to-one, one-to-one, and component references. I know it's not good to turn off lazy-loading, I'd still like the support to be there in case we need it. The documentation is here: http://www.hibernate.org/hib_docs/reference/en/html/mapping.html#mapping-declaration-manytoone 3. Is it possible to specify that I want to generate a <list> instead of a <set> in the mapping file? My model uses a java.util.List, but the Hibernate mapping is for a <set>. I know Hibernate advocates the use of sets, but I prefer lists. Thanks! --Polly -- View this message in context: http://www.nabble.com/-Sculptor--Hibernate-mappings-problems-tp18144053s17564p18144053.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
