org.tmatesoft.sqljet.core.internal.lang
Class SqlJetConnection

java.lang.Object
  extended by org.tmatesoft.sqljet.core.internal.lang.SqlJetConnection

public class SqlJetConnection
extends java.lang.Object


Constructor Summary
protected SqlJetConnection(java.lang.String fileName)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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