|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DBSpecific
Database-specific operations interface.
Method Summary | |
---|---|
void |
freeBlob(java.sql.Connection conn,
java.sql.Blob blob)
Frees BLOB data after return from stored procedure. |
void |
freeClob(java.sql.Connection conn,
java.sql.Clob clob)
Frees CLOB data after return from stored procedure. |
java.io.OutputStream |
getBlobOutputStream(java.sql.Blob blob)
Retrieves stream to write BLOB contents |
java.lang.Class<? extends SqlChecker> |
getCheckerClass()
Returns checker of SQL statements for this DB. |
java.io.Writer |
getClobWriter(java.sql.Clob clob)
Retrieves stream to write CLOB contents |
int |
getDateSqlType(java.lang.Class<? extends java.util.Date> cls)
Determines which of SQL date types to use for given Java Date subclass - Types.DATE ,
Types.TIME or Types.TIMESTAMP . |
long |
getNextId(java.sql.Connection conn,
java.lang.String sequence)
Gets next number from sequence |
int |
getResultSetType()
Returns type code to use for CallableStatement.registerOutParameter(int, int) for
cursor OUT parameters. |
java.util.Date |
getServerDate(java.sql.Connection conn)
Returns DB server local time. |
Method Detail |
---|
long getNextId(java.sql.Connection conn, java.lang.String sequence) throws java.sql.SQLException
sequence
- sequence name
java.sql.SQLException
void freeClob(java.sql.Connection conn, java.sql.Clob clob) throws java.sql.SQLException
java.sql.SQLException
void freeBlob(java.sql.Connection conn, java.sql.Blob blob) throws java.sql.SQLException
java.sql.SQLException
java.util.Date getServerDate(java.sql.Connection conn) throws java.sql.SQLException
java.sql.SQLException
java.io.OutputStream getBlobOutputStream(java.sql.Blob blob) throws java.sql.SQLException
java.sql.SQLException
java.io.Writer getClobWriter(java.sql.Clob clob) throws java.sql.SQLException
java.sql.SQLException
int getDateSqlType(java.lang.Class<? extends java.util.Date> cls)
Types.DATE
,
Types.TIME
or Types.TIMESTAMP
.
java.lang.Class<? extends SqlChecker> getCheckerClass()
int getResultSetType()
CallableStatement.registerOutParameter(int, int)
for
cursor OUT parameters.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |