org.apache.servicemix.jdbc
Interface JDBCAdapter
- All Known Implementing Classes:
- AxionJDBCAdapter, BlobJDBCAdapter, BytesJDBCAdapter, DB2JDBCAdapter, DefaultJDBCAdapter, HsqldbJDBCAdapter, ImageBasedJDBCAdaptor, InformixJDBCAdapter, MaxDBJDBCAdapter, OracleJDBCAdapter, PostgresqlJDBCAdapter, StreamJDBCAdapter
public interface JDBCAdapter
|
Method Summary |
void |
doCreateTables(Connection connection)
|
void |
doDropTables(Connection connection)
|
int |
doGetCount(Connection connection)
|
String[] |
doGetIds(Connection connection)
|
String[] |
doGetIds(Connection connection,
int fromIndex,
int toIndex)
|
byte[] |
doLoadData(Connection connection,
String id)
|
byte[][] |
doLoadData(Connection connection,
String[] ids)
|
void |
doRemoveData(Connection connection,
String id)
|
void |
doRemoveData(Connection connection,
String[] ids)
|
void |
doStoreData(Connection connection,
String id,
byte[] data)
|
void |
doUpdateData(Connection connection,
String id,
byte[] data)
|
Statements |
getStatements()
|
void |
setStatements(Statements statements)
|
doCreateTables
void doCreateTables(Connection connection)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doDropTables
void doDropTables(Connection connection)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doLoadData
byte[] doLoadData(Connection connection,
String id)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doLoadData
byte[][] doLoadData(Connection connection,
String[] ids)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doStoreData
void doStoreData(Connection connection,
String id,
byte[] data)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doUpdateData
void doUpdateData(Connection connection,
String id,
byte[] data)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doRemoveData
void doRemoveData(Connection connection,
String id)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doRemoveData
void doRemoveData(Connection connection,
String[] ids)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doGetCount
int doGetCount(Connection connection)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doGetIds
String[] doGetIds(Connection connection)
throws SQLException,
IOException
- Throws:
SQLException
IOException
doGetIds
String[] doGetIds(Connection connection,
int fromIndex,
int toIndex)
throws SQLException,
IOException
- Throws:
SQLException
IOException
getStatements
Statements getStatements()
setStatements
void setStatements(Statements statements)
Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.