org.axiondb.jdbc

Class AxionConnection

public class AxionConnection extends Object implements Connection

A Connection implementation.

Version: $Revision: 1.30 $ $Date: 2007/11/13 19:04:01 $

Author: Chuck Burdick Jonathan Giron

Constructor Summary
protected AxionConnection(String name, File path, String url)
AxionConnection(Database db, String url)
AxionConnection(Database db)
Method Summary
protected voidaddWarning(SQLWarning newWarning)
Adds the given SQLWarning instance to the current warning chain.
voidclearWarnings()
voidclose()
voidcommit()
StatementcreateStatement()
StatementcreateStatement(int resultSetType, int resultSetConcurrency)
StatementcreateStatement(int arg0, int arg1, int arg2)
Currently unsupported.
booleangetAutoCommit()
StringgetCatalog()
DatabasegetDatabase()
intgetHoldability()
Currently unsupported.
DatabaseMetaDatagetMetaData()
intgetTransactionIsolation()
MapgetTypeMap()
StringgetURL()
SQLWarninggetWarnings()
booleanisClosed()
booleanisReadOnly()
StringnativeSQL(String sql)
CallableStatementprepareCall(String sql)
CallableStatementprepareCall(String sql, int resultSetType, int resultSetConcurrency)
CallableStatementprepareCall(String arg0, int arg1, int arg2, int arg3)
Currently unsupported.
PreparedStatementprepareStatement(String sql)
PreparedStatementprepareStatement(String sql, int resultSetType, int resultSetConcurrency)
PreparedStatementprepareStatement(String arg0, int arg1, int arg2, int arg3)
Currently unsupported.
PreparedStatementprepareStatement(String arg0, int arg1)
Currently unsupported.
PreparedStatementprepareStatement(String arg0, int[] arg1)
Currently unsupported.
PreparedStatementprepareStatement(String arg0, String[] arg1)
Currently unsupported.
voidreleaseSavepoint(Savepoint arg0)
Currently unsupported.
voidrollback()
voidrollback(Savepoint arg0)
Currently unsupported.
voidsetAutoCommit(boolean autoCommit)
voidsetCatalog(String catalog)
voidsetHoldability(int arg0)
Currently unsupported.
voidsetReadOnly(boolean readOnly)
SavepointsetSavepoint()
Currently unsupported.
SavepointsetSavepoint(String arg0)
Currently unsupported.
voidsetTransactionIsolation(int level)

Constructor Detail

AxionConnection

protected AxionConnection(String name, File path, String url)

AxionConnection

public AxionConnection(Database db, String url)

AxionConnection

public AxionConnection(Database db)

Method Detail

addWarning

protected void addWarning(SQLWarning newWarning)
Adds the given SQLWarning instance to the current warning chain.

Parameters: newWarning SQLWarning instance to add to the current warning chain.

clearWarnings

public void clearWarnings()

close

public void close()

commit

public void commit()

createStatement

public Statement createStatement()

createStatement

public Statement createStatement(int resultSetType, int resultSetConcurrency)

createStatement

public Statement createStatement(int arg0, int arg1, int arg2)
Currently unsupported.

getAutoCommit

public boolean getAutoCommit()

getCatalog

public String getCatalog()

getDatabase

public Database getDatabase()

getHoldability

public int getHoldability()
Currently unsupported.

getMetaData

public DatabaseMetaData getMetaData()

getTransactionIsolation

public int getTransactionIsolation()

getTypeMap

public Map getTypeMap()

getURL

public String getURL()

getWarnings

public SQLWarning getWarnings()

isClosed

public boolean isClosed()

isReadOnly

public boolean isReadOnly()

nativeSQL

public String nativeSQL(String sql)

prepareCall

public CallableStatement prepareCall(String sql)

prepareCall

public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)

prepareCall

public CallableStatement prepareCall(String arg0, int arg1, int arg2, int arg3)
Currently unsupported.

prepareStatement

public PreparedStatement prepareStatement(String sql)

prepareStatement

public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)

prepareStatement

public PreparedStatement prepareStatement(String arg0, int arg1, int arg2, int arg3)
Currently unsupported.

prepareStatement

public PreparedStatement prepareStatement(String arg0, int arg1)
Currently unsupported.

prepareStatement

public PreparedStatement prepareStatement(String arg0, int[] arg1)
Currently unsupported.

prepareStatement

public PreparedStatement prepareStatement(String arg0, String[] arg1)
Currently unsupported.

releaseSavepoint

public void releaseSavepoint(Savepoint arg0)
Currently unsupported.

rollback

public void rollback()

rollback

public void rollback(Savepoint arg0)
Currently unsupported.

setAutoCommit

public void setAutoCommit(boolean autoCommit)

setCatalog

public void setCatalog(String catalog)

setHoldability

public void setHoldability(int arg0)
Currently unsupported.

setReadOnly

public void setReadOnly(boolean readOnly)

setSavepoint

public Savepoint setSavepoint()
Currently unsupported.

setSavepoint

public Savepoint setSavepoint(String arg0)
Currently unsupported.

setTransactionIsolation

public void setTransactionIsolation(int level)