[hibernate-dev] Question about substituting IDs in Hibernate OGM

Haswell, Josiah D Josiah.Haswell at ca.com
Tue Feb 10 20:40:21 EST 2015

Hi folks,

I'm creating a Hibernate OGM implementation for Datomic, and I have a question about IDs.

Say I have the entity

public class Person {
Long id;


In Datomic, you have to assign a temporary ID before submitting the transaction.  Datomic will then return the actual persistence ID after the transaction has completed.  My question is, how can I get the actual ID back into the entity?



More information about the hibernate-dev mailing list