public class HibernateDefaultType extends SqlMetaType
| Modifier and Type | Class and Description |
|---|---|
static class |
HibernateDefaultType.MyBigIntTypeDescriptor
The extended Hibernate type LONG.
|
static class |
HibernateDefaultType.MyIntegerType |
static class |
HibernateDefaultType.MyIntegerTypeDescriptor
The extended Hibernate type INTEGER.
|
static class |
HibernateDefaultType.MyLongType |
| Modifier and Type | Field and Description |
|---|---|
(package private) static Map<Class<?>,org.hibernate.type.Type> |
hibernateTypes
The map between the Java types and the Hibernate types.
|
logger| Constructor and Description |
|---|
HibernateDefaultType() |
| Modifier and Type | Method and Description |
|---|---|
void |
addScalar(SqlQuery query,
String dbName,
Class<?> attributeType) |
private Object |
handleBigDecimal(Class<?> attributeType,
Object resultValue) |
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) |
public 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.