Hmm... just found out, I cant reproduce it anymore. It happened when I added a new user via GUI and I solved it by adding an user with a positive id in sample-data.xml. Now I changed back to only negative ids in sample-data.xml and adding an user via GUI didnt throw that exception :-)
-----Ursprüngliche Nachricht----- Von: Matt Raible [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 14. Dezember 2007 01:13 An: [email protected] Betreff: Re: AW: [appfuse-user] sample-data.xml Can you provide the steps needed to reproduce this with a new project? I haven't seen any issues with 5.0.27 on OS X. Matt On Dec 13, 2007, at 5:09 PM, René Günther wrote: > 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] > --------------------------------------------------------------------- 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]
