public class OracleDriver extends AbsConnect<OracleDriver>
drvName, locks, log
Constructor and Description |
---|
OracleDriver(boolean log) |
Modifier and Type | Method and Description |
---|---|
int[] |
commit(ArrayList<String> sqls,
int flags) |
int[] |
commit(io.odysz.semantics.IUser log,
ArrayList<String> sqls,
ArrayList<Clob> lobs,
int i) |
static void |
excecuteBatch(ArrayList<String> sqls) |
static void |
excecuteBatch(Connection conn,
ArrayList<String> sqls,
String userid,
String username,
String operTime,
String funcName,
String sysID)
Deprecated.
|
static void |
executeBatch(ArrayList<String> sqls,
String userid,
String username,
String operTime,
String funcName,
String sysID)
Deprecated.
|
static Connection |
getConnection()
MUST CLOSE CONNECTION!
|
static OracleDriver |
initConnection(String conn,
String user,
String psword,
boolean log,
int flag) |
static void |
insert_updateBlob(String insertSql,
String blobTable,
String idField,
String blobField,
String recID,
InputStream inStream) |
static AnResultset |
select(String sql) |
AnResultset |
select(String sql,
int flags) |
static AnResultset |
selectBlob(String sql) |
static void |
setClobs(ArrayList<OracleLob> lobs) |
close, commit, driverType, getAutoseqLock, initDmConnect, initPooledConnect, prop, prop
public static Connection getConnection() throws SQLException
SQLException
public static OracleDriver initConnection(String conn, String user, String psword, boolean log, int flag) throws SQLException
SQLException
public static AnResultset select(String sql) throws SQLException
SQLException
public static void executeBatch(ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) throws SQLException
sqls
- userid
- username
- operTime
- funcName
- sysID
- SQLException
public static void excecuteBatch(Connection conn, ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) throws SQLException
conn
- sqls
- userid
- username
- operTime
- funcName
- sysID
- SQLException
public static void excecuteBatch(ArrayList<String> sqls) throws SQLException
SQLException
public static void insert_updateBlob(String insertSql, String blobTable, String idField, String blobField, String recID, InputStream inStream) throws Exception
Exception
public static AnResultset selectBlob(String sql) throws SQLException
sql
- SQLException
public AnResultset select(String sql, int flags) throws SQLException
select
in class AbsConnect<OracleDriver>
SQLException
public int[] commit(ArrayList<String> sqls, int flags) throws SQLException
commit
in class AbsConnect<OracleDriver>
SQLException
public int[] commit(io.odysz.semantics.IUser log, ArrayList<String> sqls, ArrayList<Clob> lobs, int i) throws SQLException
commit
in class AbsConnect<OracleDriver>
SQLException
Copyright © 2024. All rights reserved.