Package org.apache.cayenne.dba.oracle
Class OracleCharType
java.lang.Object
org.apache.cayenne.access.types.CharType
org.apache.cayenne.dba.oracle.OracleCharType
- All Implemented Interfaces:
- ExtendedType<String>
public class OracleCharType extends CharType
Oracle specific CHAR type handling. 
 
 If connection property "fixedString" is true, then
 'a' equal 'a ' in a CHAR(4) while parameter binding in PreparedStatement.
- Since:
- 3.1
- 
Field SummaryFields inherited from class org.apache.cayenne.access.types.CharTypetrimmingChars, usingClobs
- 
Constructor SummaryConstructors Constructor Description OracleCharType()
- 
Method SummaryModifier and Type Method Description voidsetJdbcObject(PreparedStatement st, String val, int pos, int type, int precision)Initializes a single parameter of a PreparedStatement with object value.Methods inherited from class org.apache.cayenne.access.types.CharTypegetClassName, isTrimmingChars, isUsingClobs, materializeObject, materializeObject, readCharStream, readClob, readValueStream, rtrim, setTrimmingChars, setUsingClobs, toString
- 
Constructor Details- 
OracleCharTypepublic OracleCharType()
 
- 
- 
Method Details- 
setJdbcObjectpublic void setJdbcObject(PreparedStatement st, String val, int pos, int type, int precision) throws ExceptionDescription copied from interface:ExtendedTypeInitializes a single parameter of a PreparedStatement with object value.- Specified by:
- setJdbcObjectin interface- ExtendedType<String>
- Overrides:
- setJdbcObjectin class- CharType
- Throws:
- Exception
 
 
-