public class HibernateType extends SqlMetaType
| Modifier and Type | Field and Description |
|---|---|
private org.hibernate.type.Type |
hibernateType
The Hibernate type.
|
(package private) static Map<String,Field> |
hibernateTypes
The map between the Hibernate types names and the Hibernate types.
|
protected static org.slf4j.Logger |
logger
The internal slf4j logger.
|
| Constructor and Description |
|---|
HibernateType(String sMetaType)
Creates a new instance of general Hibernate type based on the declaration in the META SQL statement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addScalar(SqlQuery query,
String dbName,
Class<?> attributeType) |
void |
setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError) |
void |
setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError) |
protected static final org.slf4j.Logger logger
static Map<String,Field> hibernateTypes
private org.hibernate.type.Type hibernateType
public HibernateType(String sMetaType)
sMetaType - the name of the Hibernate type, for example INTEGERpublic void addScalar(SqlQuery query, String dbName, Class<?> attributeType)
addScalar in class SqlMetaTypepublic void setResult(SqlRuntimeContext runtimeCtx, Object resultInstance, String attributeName, Object resultValue, boolean ingoreError) throws SqlRuntimeException
setResult in class SqlMetaTypeSqlRuntimeExceptionpublic void setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object inputValue, Class<?> inputType, boolean ingoreError) throws SqlRuntimeException
setParameter in class SqlMetaTypeSqlRuntimeExceptionCopyright © 2016. All rights reserved.