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[]>
-
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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
OracleByteArrayType
public OracleByteArrayType()
-
-
Method Details
-
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
-