Re: Detached Generated Keys
Franck Routier <[email protected]>
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <1218658786.6917.3.camel@franck-laptop> |
Hi, I have been offline for one day or two. I'll test this soon. Thnaks a lot, Franck Le mercredi 13 août 2008 à 20:53 +1000, Anthony Berglas a écrit : > Hello Franck, > > I have finished this work, so that you can now write > > SDataSet ds = new SDataSet(); > Invoice invd1 = ds.createWithNullKey(Invoice.meta); > invd1.setString(invd1.NAME, "Remote Gened"); ... > > ses.begin(ds); > ses.flush(); > TestUte.assertEqual(invd1, ses.mustFind(Invoice.meta, > invd1.getLong(invd1.INVOICE_NR))); > ses.commit(); > > The flush notes that the key was not provided, and generates it. I > think that should satisfy your requirements. > > I have commented out he single record attach code, will delete it > soon if that is OK with you. Also tidied up generation in general, > plus some of the hooks into SDataSet. > > I have also finished the white paper and updated > index.html. Comments welcome, in particular aspects that I have > missed. > > More importantly, how are you going with your port? > > Anthony > > Dr Anthony Berglas, [email protected] Mobile: +61 4 4838 8874 > Just because it is possible to push twigs along the ground with ones > nose > does not necessarily mean that is the best way to collect firewood. > > > > > ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/SimpleORM/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/SimpleORM/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/