Re: [hibernate-dev] [OGM] RowKey vs. EntityKey

2013-11-11 Thread Gunnar Morling
2013/11/11 Emmanuel Bernard > As we discussed on Irc but for posterity. > > EntityKey represents what you need to reach an entity. It contains both > the actual id information and the metadata necessary to do the query. > Likewise, we have AssociationKey that does represent an association > navig

Re: [hibernate-dev] [OGM] RowKey vs. EntityKey

2013-11-11 Thread Emmanuel Bernard
As we discussed on Irc but for posterity. EntityKey represents what you need to reach an entity. It contains both the actual id information and the metadata necessary to do the query. Likewise, we have AssociationKey that does represent an association navigation. RowKey is used to represent two t

[hibernate-dev] [OGM] RowKey vs. EntityKey

2013-11-08 Thread Gunnar Morling
Hi, This may be a noob question, but what is the difference between RowKey and EntityKey in OGM? Both seem to represent one row (by means of table name + key column names + column values), albeit being implemented a bit differently. Could they be merged into one class? Thanks, --Gunnar