public class RuntimeToHibernateConverter extends Object
| Modifier and Type | Method and Description |
|---|---|
static Object |
convertToHibernate(org.hibernate.Session session,
String databaseJndi,
Type type,
Object object)
Converts the given object to a Hibernate object for the given type.
|
Object |
convertToRuntime(org.hibernate.Session session,
com.whitestein.lsps.model.sharedrecord.SharedRecordConfiguration configuration,
SharedRecordEntityAdapter adapter,
String propertyName,
Type type,
Object object,
Long auditRevisionId)
Converts from a hibernate to runtime object.
|
static RuntimeToHibernateConverter |
get(ModelInstance modelInstance,
ModelProviderClientService modelProviderService) |
static Object |
parsePrimaryKeyString(org.hibernate.Session session,
RecordType type,
String string)
Parses the primary key string representation.
|
public static RuntimeToHibernateConverter get(ModelInstance modelInstance, ModelProviderClientService modelProviderService)
modelProviderService - modelInstance - public static Object parsePrimaryKeyString(org.hibernate.Session session, RecordType type, String string)
session - type - string - public static Object convertToHibernate(org.hibernate.Session session, String databaseJndi, Type type, Object object)
session - databaseJndi - type - object - public Object convertToRuntime(org.hibernate.Session session, com.whitestein.lsps.model.sharedrecord.SharedRecordConfiguration configuration, SharedRecordEntityAdapter adapter, String propertyName, Type type, Object object, Long auditRevisionId)
session - configuration - adapter - propertyName - type - object - auditRevisionId - Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.