com.objectwave.persist.broker
Class OracleObjectFormatter
java.lang.Object
|
+--com.objectwave.utility.ObjectFormatter
|
+--com.objectwave.persist.ObjectFormatter
|
+--com.objectwave.persist.broker.OracleObjectFormatter
- public class OracleObjectFormatter
- extends ObjectFormatter
Override the one change necessary for Oracle.
- Version:
- $Id: OracleObjectFormatter.java,v 2.1 2002/01/21 22:34:50 dave_hoag Exp $
- Author:
- Dave Hoag
Method Summary |
void |
bindBlob(java.sql.PreparedStatement statement,
byte[] data,
int idx)
|
protected void |
formatDate(java.util.Date value,
java.lang.StringBuffer buf)
To facilitate overriding of this method, the formatting is broken out. |
void |
formatSerializable(java.io.Serializable value,
java.lang.StringBuffer buf)
To facilitate overriding of this method, the formatting is broken out. |
Methods inherited from class com.objectwave.utility.ObjectFormatter |
bytesToString, convertArray, convertPrimitive, convertString, convertType, createArray, createNumber, createScalarType, formatValue, formatValue, readSerializable, replace1QuoteWith2, serializeObject, stringToBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleObjectFormatter
public OracleObjectFormatter()
bindBlob
public void bindBlob(java.sql.PreparedStatement statement,
byte[] data,
int idx)
throws java.sql.SQLException
- Overrides:
bindBlob
in class ObjectFormatter
- Parameters:
statement
- data
- idx
-
- Throws:
java.sql.SQLException
formatSerializable
public void formatSerializable(java.io.Serializable value,
java.lang.StringBuffer buf)
- To facilitate overriding of this method, the formatting is broken out.
- Overrides:
formatSerializable
in class ObjectFormatter
- Parameters:
buf
- StringBuffer upon which to write the data.value
- Serializable object to convert to a string value.
formatDate
protected void formatDate(java.util.Date value,
java.lang.StringBuffer buf)
- Description copied from class:
ObjectFormatter
- To facilitate overriding of this method, the formatting is broken out.
- Overrides:
formatDate
in class ObjectFormatter
- Parameters:
value
- Date object to format.buf
- StringBuffer upon which to write the data.