org.apache.servicemix.jdbc.adapter
Class OracleJDBCAdapter

java.lang.Object
  extended by org.apache.servicemix.jdbc.adapter.DefaultJDBCAdapter
      extended by org.apache.servicemix.jdbc.adapter.OracleJDBCAdapter
All Implemented Interfaces:
JDBCAdapter

public class OracleJDBCAdapter
extends DefaultJDBCAdapter

Implements all the default JDBC operations that are used by the JDBCPersistenceAdapter.

Subclassing is encouraged to override the default implementation of methods to account for differences in JDBC Driver implementations.

The JDBCAdapter inserts and extracts BLOB data using the getBytes()/setBytes() operations.

The databases/JDBC drivers that use this adapter are:

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class org.apache.servicemix.jdbc.adapter.DefaultJDBCAdapter
statements
 
Constructor Summary
OracleJDBCAdapter()
           
 
Method Summary
protected  byte[] getBinaryData(java.sql.ResultSet rs, int index)
           
 
Methods inherited from class org.apache.servicemix.jdbc.adapter.DefaultJDBCAdapter
doCreateTables, doDropTables, doGetCount, doGetIds, doGetIds, doLoadData, doLoadData, doLoadData, doRemoveData, doRemoveData, doStoreData, doUpdateData, getStatements, setBinaryData, setStatements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OracleJDBCAdapter

public OracleJDBCAdapter()
Method Detail

getBinaryData

protected byte[] getBinaryData(java.sql.ResultSet rs,
                               int index)
                        throws java.sql.SQLException
Overrides:
getBinaryData in class DefaultJDBCAdapter
Throws:
java.sql.SQLException


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.