[mailto:gunnar.morl...@googlemail.com] On
Behalf Of Gunnar Morling
Sent: Thursday, February 12, 2015 12:43 AM
To: Haswell, Josiah D
Cc: hibernate-dev@lists.jboss.org
Subject: Re: [hibernate-dev] Question about substituting IDs in Hibernate OGM
2015-02-12 1:37 GMT+01:00 Haswell, Josiah D
tion to get it.
>
See above, you should take all the column values from the Person table (or
the Persistable table when working with SINGLE_TABLE). You can get the
table name from the given entity key. From the tuple context btw. you can
get the columns we actually need, so you don't need to fe
[mailto:gunnar.morl...@googlemail.com] On
Behalf Of Gunnar Morling
Sent: Wednesday, February 11, 2015 12:43 AM
To: Haswell, Josiah D
Cc: hibernate-dev@lists.jboss.org
Subject: Re: [hibernate-dev] Question about substituting IDs in Hibernate OGM
Hi Josiah,
It's great to hear that you are working
Hi Josiah,
It's great to hear that you are working an a backend for Hibernate OGM!
Regarding ids, it should work for you if they are mapped using the IDENTITY
strategy:
@Id
@GeneratedValue(strategy=GenerationType.IDENTITY)
Long id;
This causes the Hibernate ORM engine to read back t