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

2015-02-10 Thread Haswell, Josiah D
Hi folks, I'm creating a Hibernate OGM implementation for Datomic, and I have a question about IDs. Say I have the entity @Entity public class Person { @Id @GeneratedValue Long id; } In Datomic, you have to assign a temporary ID before submitting the transaction. Datomic will then return t

[hibernate-dev] Multiple joined-subclass mappings to same table

2015-02-10 Thread Unmesh Joshi
Hi, I am bit puzzled with this. I am looking at a codebase, where there are multiple joined-subclass mappings (in separate hbm.xml files) which map to same table. For union-subclass, we correctly get exception for duplicate mapping. But for joined-subclass it allows multiple mappings to same table