Awesome, just as I had hoped. Thanks again! Ian.
On Wednesday, April 18, 2012 2:53:52 PM UTC-5, Lukas Eder wrote: > > From what I recall, you're using MySQL. So yes, the FooRecord's > primary key value should be updated after an insert. jOOQ makes use of > JDBC's Statement.getGeneratedKeys() feature for this. > > Cheers > Lukas > > 2012/4/18 Ian Clarke <[email protected]>: > > If I create a newRecord(Tables.FOO) and store it, and the primary key is > set > > to auto-increment, will the primary key be set in the FooRecord object > > afterwards? > > > > Ian. > > > > -- > > Ian Clarke > > Blog: http://blog.locut.us/ > > > >
