@Override
public Map<String, Object> extractEntityTuple(SessionFactory sessionFactory, EntityKey key) {
Map<String, Object> tuple = new HashMap<String, Object>();
GridDialect dialect = getDialect( sessionFactory );
TupleSnapshot snapshot = dialect.getTuple( key, GridDialectOperationContexts.emptyTupleContext() ).getSnapshot();
for ( String column : snapshot.getColumnNames() ) {
tuple.put( column, snapshot.get( column ) );
}
return tuple;
}