public abstract class Connector extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Connector.Returning |
| Modifier and Type | Field and Description |
|---|---|
Connection |
connection |
| Constructor and Description |
|---|
Connector() |
| Modifier and Type | Method and Description |
|---|---|
static String |
checkExclude(String line,
String field) |
void |
commit() |
void |
endTran() |
void |
flagCommit() |
void |
flagRollback() |
abstract long |
getBigSequence(String table) |
abstract long |
getBigSequence(String table,
String field) |
abstract Connector.Returning |
getReturning(String table,
String field) |
abstract int |
getSequence(String table) |
abstract int |
getSequence(String table,
String field) |
Timestamp |
getTimestamp() |
abstract String |
getUserstamp() |
CallableStatement |
prepareCall(String sql) |
PreparedStatement |
prepareStatement(String sql) |
PreparedStatement |
prepareStatement(String sql,
boolean generated) |
void |
rollback() |
void |
setAutoCommit(boolean cond) |
void |
startTran() |
public Connection connection
public PreparedStatement prepareStatement(String sql) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, boolean generated) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql) throws SQLException
SQLExceptionpublic abstract String getUserstamp() throws SQLException
SQLExceptionpublic Timestamp getTimestamp() throws SQLException
SQLExceptionpublic abstract int getSequence(String table) throws SQLException
SQLExceptionpublic abstract int getSequence(String table, String field) throws SQLException
SQLExceptionpublic abstract long getBigSequence(String table) throws SQLException
SQLExceptionpublic abstract long getBigSequence(String table, String field) throws SQLException
SQLExceptionpublic abstract Connector.Returning getReturning(String table, String field) throws SQLException
SQLExceptionpublic void setAutoCommit(boolean cond)
throws SQLException
SQLExceptionpublic void commit()
throws SQLException
SQLExceptionpublic void rollback()
throws SQLException
SQLExceptionpublic void startTran()
throws SQLException
SQLExceptionpublic void endTran()
throws SQLException
SQLExceptionpublic void flagCommit()
throws SQLException
SQLExceptionpublic void flagRollback()
throws SQLException
SQLExceptionCopyright © 2017. All rights reserved.