public class MysqlDriver extends AbsConnect<MysqlDriver>
drvName, enableSystemout, locks, log
Constructor and Description |
---|
MysqlDriver(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) |
protected static Connection |
getConnection()
IMPORTANT: Caller must close connection!
|
static MysqlDriver |
initConnection(String conn,
String user,
String psword,
boolean log,
int flags)
Use this to init connection without using servlet context for retrieving configured strings.
This is the typical scenario when running test from "main" thread. |
AnResultset |
select(String sql,
int flags) |
static AnResultset |
selectStatic(String sql,
int flags) |
close, commit, driverType, getAutoseqLock, initDmConnect, initPooledConnect, prop, prop
protected static Connection getConnection() throws SQLException
SQLException
public static MysqlDriver initConnection(String conn, String user, String psword, boolean log, int flags) throws SQLException
conn
- user
- psword
- log
- flags
- SQLException
public static AnResultset selectStatic(String sql, int flags) throws SQLException
SQLException
public AnResultset select(String sql, int flags) throws SQLException
select
in class AbsConnect<MysqlDriver>
SQLException
public int[] commit(ArrayList<String> sqls, int flags) throws SQLException
commit
in class AbsConnect<MysqlDriver>
SQLException
public int[] commit(io.odysz.semantics.IUser log, ArrayList<String> sqls, ArrayList<Clob> lobs, int i) throws SQLException
commit
in class AbsConnect<MysqlDriver>
SQLException
Copyright © 2024. All rights reserved.