|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jdbc.adapter.DefaultJDBCAdapter
org.apache.servicemix.jdbc.adapter.BytesJDBCAdapter
public class BytesJDBCAdapter
This JDBCAdapter inserts and extracts BLOB data using the setBytes()/getBytes() operations. The databases/JDBC drivers that use this adapter are:
| Field Summary |
|---|
| Fields inherited from class org.apache.servicemix.jdbc.adapter.DefaultJDBCAdapter |
|---|
statements |
| Constructor Summary | |
|---|---|
BytesJDBCAdapter()
|
|
| Method Summary | |
|---|---|
protected byte[] |
getBinaryData(java.sql.ResultSet rs,
int index)
|
protected void |
setBinaryData(java.sql.PreparedStatement s,
int index,
byte[] data)
|
| Methods inherited from class org.apache.servicemix.jdbc.adapter.DefaultJDBCAdapter |
|---|
doCreateTables, doDropTables, doGetCount, doGetIds, doGetIds, doLoadData, doLoadData, doLoadData, doRemoveData, doRemoveData, doStoreData, doUpdateData, getStatements, setStatements |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BytesJDBCAdapter()
| Method Detail |
|---|
protected byte[] getBinaryData(java.sql.ResultSet rs,
int index)
throws java.sql.SQLException
getBinaryData in class DefaultJDBCAdapterjava.sql.SQLExceptionorg.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter#getBinaryData(java.sql.ResultSet, int)
protected void setBinaryData(java.sql.PreparedStatement s,
int index,
byte[] data)
throws java.sql.SQLException
setBinaryData in class DefaultJDBCAdapterjava.sql.SQLExceptionorg.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter#setBinaryData(java.sql.PreparedStatement, int, byte[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||