org.hibernate.HibernateException: The database returned no natively generated identity value
I am using MySQL 5.0.27 and Appfuse 2.0.1 I just need one positive id and it works ;-) René -----Ursprüngliche Nachricht----- Von: Matt Raible [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. Dezember 2007 00:03 An: [email protected] Betreff: Re: [appfuse-user] sample-data.xml What's the error you're getting from MySQL? We did this to fix an auto-incrementing problem with Oracle. http://issues.appfuse.org/browse/APF-718 Since we haven't heard of any MySQL issues from others, I'd suspect you're using an older version? Matt On 12/13/07, René Günther <[EMAIL PROTECTED]> wrote: > Why are all Ids negative values in sample-data.xml (eg if you generate > defaults with appfuse:gen)? > I had an issue with MySQL to autoincrement the primary key. I wasn't able to > insert new user records anymore. > > Regards > René > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
