Re: DB with totally manually managed primary keys

2016-10-18 Thread Hugi Thordarson
Ah, of course everything works like a charm as soon as I’ve provided the value myself. Thanks Michael! Cheers, - hugi > On 18. okt. 2016, at 15:38, Michael Gentry wrote: > > Hi Hugi, > > Take a look at the model/code under here: > >

Re: DB with totally manually managed primary keys

2016-10-18 Thread Michael Gentry
Hi Hugi, Take a look at the model/code under here: https://github.com/mrg/cbe/tree/master/InsertingObjects/MeaningfulPK Essentially you map the meaningful key as a Java attribute and set the DB PK generation strategy to "Default" for those tables. As long as you supply the meaningful PKs,