Package org.apache.cayenne.dba.oracle
Class OracleByteArrayType
- java.lang.Object
-
- org.apache.cayenne.access.types.ByteArrayType
-
- org.apache.cayenne.dba.oracle.OracleByteArrayType
-
- All Implemented Interfaces:
ExtendedType<byte[]>
public class OracleByteArrayType extends ByteArrayType
-
-
Field Summary
-
Fields inherited from class org.apache.cayenne.access.types.ByteArrayType
trimmingBytes, usingBlobs
-
Fields inherited from interface org.apache.cayenne.access.types.ExtendedType
TRIM_VALUES_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description OracleByteArrayType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setJdbcObject(PreparedStatement st, byte[] val, int pos, int type, int scale)
Initializes a single parameter of a PreparedStatement with object value.-
Methods inherited from class org.apache.cayenne.access.types.ByteArrayType
getClassName, isTrimmingBytes, isUsingBlobs, logBytes, materializeObject, materializeObject, readBinaryStream, readBlob, readValueStream, setTrimmingBytes, setUsingBlobs, toString, trimBytes, writeBlob
-
-
-
-
Method Detail
-
setJdbcObject
public void setJdbcObject(PreparedStatement st, byte[] val, int pos, int type, int scale) throws Exception
Description copied from interface:ExtendedType
Initializes a single parameter of a PreparedStatement with object value.- Specified by:
setJdbcObject
in interfaceExtendedType<byte[]>
- Overrides:
setJdbcObject
in classByteArrayType
- Throws:
Exception
-
-