From: Hilmar L. <hl...@ne...> - 2010-01-28 23:11:19
|
On Jan 28, 2010, at 3:39 PM, Vladimir Gapeyev wrote: > Does anyone feel confident in their understanding of TB2 DAO and > Hibernate to lead us along a faster path? Vladimir - can you ask Xianhua about this? I believe we are using it for PLHDB to entrust sequence generation to the database. The trick is that in this case Hibernate has to first create the record in the database, and then look it up again right away to see which PK was assigned. There is a hibernate config flag to instruct it to do that. -hilmar -- =========================================================== : Hilmar Lapp -:- Durham, NC -:- informatics.nescent.org : =========================================================== |