public class SqliteDriver2 extends AbsConnect<SqliteDriver2>
drvName, enableSystemout, locks, log
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
int[] |
commit(ArrayList<String> sqls,
int flags)
Commit statement
|
int[] |
commit(io.odysz.semantics.IUser usr,
ArrayList<String> sqls,
ArrayList<Clob> lobs,
int i) |
protected Connection |
getConnection()
This method is only for debug and test, use
#
initConnection(String, String, String, boolean, int)
before any function call. |
static SqliteDriver2 |
initConnection(String jdbc,
String user,
String psword,
boolean log,
int flags)
Get
SqliteDriver2 instance, with database connection got via DriverManager . |
AnResultset |
select(String sql,
int flag) |
commit, driverType, getAutoseqLock, initDmConnect, initPooledConnect, prop, prop
protected void close() throws SQLException
close
in class AbsConnect<SqliteDriver2>
SQLException
protected Connection getConnection() throws SQLException
initConnection(String, String, String, boolean, int)
before any function call.
MUST CLOSE CONNECTION!SQLException
public static SqliteDriver2 initConnection(String jdbc, String user, String psword, boolean log, int flags) throws SQLException
SqliteDriver2
instance, with database connection got via DriverManager
.jdbc
- user
- psword
- log
- flags
- SQLException
public AnResultset select(String sql, int flag) throws SQLException
select
in class AbsConnect<SqliteDriver2>
SQLException
public int[] commit(ArrayList<String> sqls, int flags) throws SQLException
commit
in class AbsConnect<SqliteDriver2>
sqls
- flags
- SQLException
public int[] commit(io.odysz.semantics.IUser usr, ArrayList<String> sqls, ArrayList<Clob> lobs, int i) throws SQLException
commit
in class AbsConnect<SqliteDriver2>
SQLException
Copyright © 2024. All rights reserved.