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 protectedSqlJetConnection(java.lang.String fileName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidexec(java.lang.String sql, SqlJetExecCallback callback)ISqlJetSchemagetSchema(java.lang.String databaseName)static SqlJetConnectionopen(java.lang.String fileName)SqlJetPreparedStatementprepare(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
-
-