Class SqlJetConnection
- java.lang.Object
-
- org.tmatesoft.sqljet.core.internal.lang.SqlJetConnection
-
public class SqlJetConnection extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SqlJetConnection(java.lang.String fileName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
exec(java.lang.String sql, SqlJetExecCallback callback)
ISqlJetSchema
getSchema(java.lang.String databaseName)
static SqlJetConnection
open(java.lang.String fileName)
SqlJetPreparedStatement
prepare(java.lang.String sql)
-
-
-
Constructor Detail
-
SqlJetConnection
protected SqlJetConnection(java.lang.String fileName) throws SqlJetException
- Throws:
SqlJetException
-
-
Method Detail
-
open
public static SqlJetConnection open(java.lang.String fileName) throws SqlJetException
- Throws:
SqlJetException
-
prepare
public SqlJetPreparedStatement prepare(java.lang.String sql) throws SqlJetException
- Throws:
SqlJetException
-
exec
public void exec(java.lang.String sql, SqlJetExecCallback callback) throws SqlJetException
- Throws:
SqlJetException
-
close
public void close() throws SqlJetException
- Throws:
SqlJetException
-
getSchema
public ISqlJetSchema getSchema(java.lang.String databaseName) throws SqlJetException
- Throws:
SqlJetException
-
-