|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
org.apache.activemq.store.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.activemq.store.jdbc.adapter.DefaultJDBCAdapter |
---|
batchStatments, 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 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 DefaultJDBCAdapter
java.sql.SQLException
DefaultJDBCAdapter.getBinaryData(java.sql.ResultSet, int)
protected void setBinaryData(java.sql.PreparedStatement s, int index, byte[] data) throws java.sql.SQLException
setBinaryData
in class DefaultJDBCAdapter
java.sql.SQLException
DefaultJDBCAdapter.setBinaryData(java.sql.PreparedStatement, int, byte[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |