public class UnknownDB extends BaseDB
| Constructor and Description |
|---|
UnknownDB() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCheckString()
Returns a SQL statement that is the cheapest way to check the validity of a connection.
|
protected int |
getFullSequenceID(Connection dbc,
String seqname)
Uses a table sequence to generate a value.
|
protected Reader |
getLobReader(Connection dbc,
ResultSet rs,
int col)
Returns a Reader from the blob (clob) column specified.
|
protected Reader |
getLobReader(Connection dbc,
ResultSet rs,
String col)
Returns a Reader from the blob (clob) column specified.
|
protected InputStream |
getLobStream(Connection dbc,
ResultSet rs,
int col)
Returns an InputStream from the blob (clob) column specified.
|
protected InputStream |
getLobStream(Connection dbc,
ResultSet rs,
String col)
Returns an InputStream from the blob (clob) column specified.
|
protected int |
getSequenceID(Connection dbc,
String tablename)
Returns a sequence number that can be used to create a new PK for a
record in the given table.
|
protected void |
setBlob(Connection dbc,
String table,
String column,
String[] pkfields,
Object[] key,
InputStream is,
int len) |
protected void |
setBlob(Connection dbc,
String table,
String column,
String where,
InputStream is,
int len)
Writes a blob to the requested record using the normal setBinaryStream
call.
|
protected void |
setClob(Connection dbc,
String table,
String column,
String where,
Reader r)
Writes a blob to the requested record using the normal setBinaryStream
call.
|
getName, oracleOuterJoin, setBlob, streamCopyprotected String getCheckString()
getCheckString in class BaseDBprotected int getFullSequenceID(Connection dbc, String seqname) throws SQLException
getFullSequenceID in class BaseDBdbc - the connectionSQLException - if the sequence could not be obtainedprotected int getSequenceID(Connection dbc, String tablename) throws SQLException
BaseDBgetSequenceID in class BaseDBSQLExceptionprotected void setBlob(Connection dbc, String table, String column, String[] pkfields, Object[] key, InputStream is, int len) throws SQLException
setBlob in class BaseDBSQLExceptionprotected void setBlob(Connection dbc, String table, String column, String where, InputStream is, int len) throws SQLException
setBlob in class BaseDBSQLExceptionprotected void setClob(Connection dbc, String table, String column, String where, Reader r) throws Exception
protected Reader getLobReader(Connection dbc, ResultSet rs, int col) throws Exception
getLobReader in class BaseDBrs - col - Exceptionprotected Reader getLobReader(Connection dbc, ResultSet rs, String col) throws Exception
getLobReader in class BaseDBrs - col - Exceptionprotected InputStream getLobStream(Connection dbc, ResultSet rs, int col) throws Exception
getLobStream in class BaseDBrs - col - Exceptionprotected InputStream getLobStream(Connection dbc, ResultSet rs, String col) throws Exception
getLobStream in class BaseDBrs - col - ExceptionCopyright © 2017 etc.to. All rights reserved.