public abstract class SqlIdentityType extends SqlDefaultType
logger| Constructor and Description |
|---|
SqlIdentityType() |
| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getClassTypesForDefault()
Returns the list of Java class types related to this META type for SqlDefaultType processing.
|
String[] |
getMetaTypes()
Returns the list of names of this META type.
|
void |
setParameter(SqlRuntimeContext runtimeCtx,
SqlQuery query,
String paramName,
Object identitySetter,
boolean ingoreError,
Class<?>... inputTypes)
Binds an input value to a named query parameter.
|
void |
setResult(SqlRuntimeContext runtimeCtx,
Object resultInstance,
String attributeName,
Object resultValue,
boolean ingoreError)
Initializes the attribute of the result class with output value from the SQL query execution.
|
addScalar, errorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassTypesgetProviderSqlTypepublic Class<?>[] getClassTypesForDefault()
getClassTypesForDefault in class SqlDefaultTypepublic String[] getMetaTypes()
public void setResult(SqlRuntimeContext runtimeCtx, Object resultInstance, String attributeName, Object resultValue, boolean ingoreError) throws SqlRuntimeException
setResult in interface SqlMetaTypesetResult in class SqlDefaultTyperuntimeCtx - the public runtimeCtx contextresultInstance - the instance of the result classattributeName - the name of the attribute in the result classresultValue - the query execution output valueingoreError - ignore improper output value handlingSqlRuntimeException - in the case of any problem with the output values handlingpublic void setParameter(SqlRuntimeContext runtimeCtx, SqlQuery query, String paramName, Object identitySetter, boolean ingoreError, Class<?>... inputTypes) throws SqlRuntimeException
setParameter in interface SqlMetaTypesetParameter in class SqlDefaultTyperuntimeCtx - the public runtimeCtx contextquery - the SQL Engine query, an adapter or proxy to the internal JDBC or ORM staffparamName - the name of the parameteringoreError - ignore improper input value handlinginputTypes - the Java types of the attribute in the input POJOSqlRuntimeException - in the case of any problem with the input values handlingCopyright © 2016. All rights reserved.