[hibernate-dev] [OGM] AbstractKey

Ewa Stawicka ewastawicka91 at gmail.com
Mon May 18 07:08:11 EDT 2015


There are three classes AssociationKey, EnityKey, IdSourceKey, which all
contains methods:
public String[] getColumnNames()
public Object[] getColumnValues()
public String getTable()

and we have three methods in couchdb module:
Identifier.createAssociationId, Identifier.createEntityId,
CouchDBDatastore.createId, each one does basicly the same, but takes
different parameter.
Can we extract abstract class AbstractKey, with columnValues field, some
getters, createId method? I will need createId method in couchbase module.

Ewa


More information about the hibernate-dev mailing list