Class IngresBooleanType
java.lang.Object
org.apache.cayenne.access.types.BooleanType
org.apache.cayenne.dba.ingres.IngresBooleanType
- All Implemented Interfaces:
ExtendedType<Boolean>
-
Field Summary
Fields inherited from interface ExtendedType
TRIM_VALUES_THRESHOLDModifier and TypeFieldDescriptionstatic final intDefines trimming constant for toString method that helps to limit logging of large values. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetJdbcObject(PreparedStatement st, Boolean val, int pos, int type, int precision) Initializes a single parameter of a PreparedStatement with object value.Methods inherited from class BooleanType
getClassName, materializeObject, materializeObject, toStringModifier and TypeMethodDescriptionReturns a full name of Java class that this ExtendedType supports.materializeObject(CallableStatement st, int index, int type) Reads an object from a stored procedure OUT parameter, converting it to class returned by 'getClassName' method.materializeObject(ResultSet rs, int index, int type) Reads an object from JDBC ResultSet column, converting it to class returned by 'getClassName' method.Converts value of the supported type to a human-readable String representation.
-
Constructor Details
-
IngresBooleanType
public IngresBooleanType()
-
-
Method Details
-
setJdbcObject
public void setJdbcObject(PreparedStatement st, Boolean val, int pos, int type, int precision) throws Exception Description copied from interface:ExtendedTypeInitializes a single parameter of a PreparedStatement with object value.- Specified by:
setJdbcObjectin interfaceExtendedType<Boolean>- Overrides:
setJdbcObjectin classBooleanType- Throws:
Exception
-