|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sqlproc.engine.type.SqlMetaType
org.sqlproc.engine.hibernate.type.HibernateType
public class HibernateType
The general Hibernate META type.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
HibernateType(String sMetaType)
Creates a new instance of general Hibernate type based on the declaration in the META SQL statement. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.slf4j.Logger logger
static Map<String,Field> hibernateTypes
private org.hibernate.type.Type hibernateType
| Constructor Detail |
|---|
public HibernateType(String sMetaType)
sMetaType - the name of the Hibernate type, for example INTEGER| Method Detail |
|---|
public void addScalar(SqlQuery query,
String dbName,
Class<?> attributeType)
addScalar in class SqlMetaType
public void setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
throws SqlRuntimeException
setResult in class SqlMetaTypeSqlRuntimeException
public void setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object inputValue,
Class<?> inputType,
boolean ingoreError)
throws SqlRuntimeException
setParameter in class SqlMetaTypeSqlRuntimeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||