On 26/09/06, passive_thoughts <[EMAIL PROTECTED]> wrote: > Meanwhile the employee.hbm.xml file in the crm sample is configured > with <generator class="native" /> > > I modified my country.hbm.xml and the problem went away.
My Hibernate mapping has <generator class="sequence"> in the ID element, and the object gets assigned a correct ID on the server side (I can check that in the database). Using "native" would (from my understanding) also use sequence keys when possible, so I don't think this will have any effect. Thanks for the tip on how to change the default generator type in Hibernate though! best regards, Benno -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

