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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]int[]static voidexcecuteBatch(Connection conn, ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) Deprecated.static voidexcecuteBatch(ArrayList<String> sqls) static voidexecuteBatch(ArrayList<String> sqls, String userid, String username, String operTime, String funcName, String sysID) Deprecated.static ConnectionMUST CLOSE CONNECTION!static OracleDriverinitConnection(String id, String conn, String user, String psword, boolean log, int flag) static voidinsert_updateBlob(String insertSql, String blobTable, String idField, String blobField, String recID, InputStream inStream) static AnResultsetstatic AnResultsetselectBlob(String sql) static voidMethods 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:
selectin classAbsConnect<OracleDriver>- Throws:
SQLException
-
commit
- Specified by:
commitin 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:
commitin classAbsConnect<OracleDriver>- Throws:
SQLException
-