org.apache.tuscany.das.rdb.impl
Class ConnectionImpl

java.lang.Object
  extended by org.apache.tuscany.das.rdb.impl.ConnectionImpl

public class ConnectionImpl
extends java.lang.Object


Constructor Summary
ConnectionImpl(java.sql.Connection connection)
           
 
Method Summary
 void cleanUp()
           
 void errorCleanUp()
           
 java.lang.String getGeneratedKeysSupported()
           
 java.sql.Connection getJDBCConnection()
           
 boolean isGeneratedKeysSupported()
           
 java.sql.CallableStatement prepareCall(java.lang.String queryString)
           
 java.sql.PreparedStatement preparePagedStatement(java.lang.String queryString)
           
 java.sql.PreparedStatement prepareStatement(java.lang.String queryString, java.lang.String[] returnKeys)
           
 void setGeneratedKeysSupported(java.lang.String useGetGeneratedKeys)
           
 void setManageTransactions(boolean manageTransactions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionImpl

public ConnectionImpl(java.sql.Connection connection)
Method Detail

getJDBCConnection

public java.sql.Connection getJDBCConnection()

getGeneratedKeysSupported

public java.lang.String getGeneratedKeysSupported()

setGeneratedKeysSupported

public void setGeneratedKeysSupported(java.lang.String useGetGeneratedKeys)

isGeneratedKeysSupported

public boolean isGeneratedKeysSupported()

cleanUp

public void cleanUp()

errorCleanUp

public void errorCleanUp()

prepareStatement

public java.sql.PreparedStatement prepareStatement(java.lang.String queryString,
                                                   java.lang.String[] returnKeys)
                                            throws java.sql.SQLException
Throws:
java.sql.SQLException

preparePagedStatement

public java.sql.PreparedStatement preparePagedStatement(java.lang.String queryString)
                                                 throws java.sql.SQLException
Throws:
java.sql.SQLException

setManageTransactions

public void setManageTransactions(boolean manageTransactions)

prepareCall

public java.sql.CallableStatement prepareCall(java.lang.String queryString)
                                       throws java.sql.SQLException
Throws:
java.sql.SQLException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.