Package io.odysz.semantic.DA.drvmnger
Class OracleDriver
- Author:
- odys-z@github.com
-
Field Summary
Fields inherited from class io.odysz.semantic.DA.AbsConnect
drvName, flag_disableSql, flag_nothing, flag_printSql, id, locks, log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint[]
int[]
static void
excecuteBatch
(Connection conn, ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) Deprecated.static void
excecuteBatch
(ArrayList<String> sqls) static void
executeBatch
(ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) Deprecated.static Connection
MUST CLOSE CONNECTION!static OracleDriver
initConnection
(String id, 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
static AnResultset
selectBlob
(String sql) static void
Methods inherited from class io.odysz.semantic.DA.AbsConnect
close, commit, driverType, getAutoseqLock, initDmConnect, initPooledConnect, printSql, printSql, prop, prop
-
Constructor Details
-
OracleDriver
-
-
Method Details
-
getConnection
MUST CLOSE CONNECTION!- Returns:
- Connection
- Throws:
SQLException
-
initConnection
public static OracleDriver initConnection(String id, String conn, String user, String psword, boolean log, int flag) throws SQLException - Throws:
SQLException
-
select
- Throws:
SQLException
-
executeBatch
public static void executeBatch(ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) throws SQLException Deprecated.- Parameters:
sqls
-userid
-username
-operTime
-funcName
-sysID
-- Throws:
SQLException
-
excecuteBatch
public static void excecuteBatch(Connection conn, ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) throws SQLException Deprecated.- Parameters:
conn
-sqls
-userid
-username
-operTime
-funcName
-sysID
-- Throws:
SQLException
-
excecuteBatch
- Throws:
SQLException
-
insert_updateBlob
public static void insert_updateBlob(String insertSql, String blobTable, String idField, String blobField, String recID, InputStream inStream) throws Exception - Throws:
Exception
-
selectBlob
- Parameters:
sql
-- Returns:
- result set
- Throws:
SQLException
-
setClobs
-
select
- Specified by:
select
in classAbsConnect<OracleDriver>
- Throws:
SQLException
-
commit
- Specified by:
commit
in classAbsConnect<OracleDriver>
- Throws:
SQLException
-
commit
public int[] commit(io.odysz.semantics.IUser log, ArrayList<String> sqls, ArrayList<Clob> lobs, int i) throws SQLException - Specified by:
commit
in classAbsConnect<OracleDriver>
- Throws:
SQLException
-