Class OracleDataStoreHelper

  • All Implemented Interfaces:
    DataStoreHelper
    Direct Known Subclasses:
    Oracle10gDataStoreHelper

    @Deprecated
    public class OracleDataStoreHelper
    extends GenericDataStoreHelper
    Deprecated.
    This class will be removed in a future release. Do not use this class. If you have additional requirements on Oracle you should consider subclassing Oracle11gDataStoreHelper.
    • Constructor Detail

      • OracleDataStoreHelper

        @Deprecated
        public OracleDataStoreHelper​(java.util.Properties props)
        Deprecated.
        Do not use this class.
        See Oracle11gDataStoreHelper.
    • Method Detail

      • doConnectionSetup

        public void doConnectionSetup​(java.sql.Connection conn)
                               throws java.sql.SQLException
        Deprecated.
        Description copied from class: GenericDataStoreHelper

        This method configures a connection before first use. This method is invoked only when a new connection to the database is created. It is not invoked when connections are reused from the connection pool.

        GenericDataStoreHelper does not perform any connection setup.

        Specified by:
        doConnectionSetup in interface DataStoreHelper
        Overrides:
        doConnectionSetup in class GenericDataStoreHelper
        Parameters:
        conn - the connection to set up.
        Throws:
        java.sql.SQLException - if connection setup cannot be completed successfully.
      • doStatementCleanup

        @Deprecated
        public void doStatementCleanup​(java.sql.PreparedStatement stmt)
                                throws java.sql.SQLException
        Deprecated.
        Do not use methods in this class.
        See Oracle11gDataStoreHelper.
        Specified by:
        doStatementCleanup in interface DataStoreHelper
        Overrides:
        doStatementCleanup in class GenericDataStoreHelper
        Parameters:
        stmt - the PreparedStatement.
        Throws:
        java.sql.SQLException - if an error occurs cleaning up the statement.
      • doConnectionCleanup

        @Deprecated
        public boolean doConnectionCleanup​(java.sql.Connection conn)
                                    throws java.sql.SQLException
        Deprecated.
        Do not use methods in this class.
        See Oracle11gDataStoreHelper.
        Specified by:
        doConnectionCleanup in interface DataStoreHelper
        Overrides:
        doConnectionCleanup in class GenericDataStoreHelper
        Parameters:
        conn - the connection to attempt to cleanup.
        Returns:
        true if any standard connection property was modified, otherwise false.
        Throws:
        java.sql.SQLException - If an error occurs while cleaning up the connection.
      • findMappingClass

        @Deprecated
        public java.lang.Class findMappingClass​(java.sql.SQLException e)
        Deprecated.
        Do not use methods in this class.
        See Oracle11gDataStoreHelper.
        Overrides:
        findMappingClass in class GenericDataStoreHelper
        Parameters:
        e - The SQLException for which to locate a com.ibm.websphere.ce.cm.PortableSQLException subclass.
        Returns:
        The com.ibm.websphere.ce.cm.PortableSQLException subclass matching the SQLException, or null if no match was found.
      • showLockInfo

        @Deprecated
        public java.lang.String showLockInfo​(java.util.Properties props)
                                      throws java.lang.Exception
        Deprecated.
        Do not use methods in this class.
        See Oracle11gDataStoreHelper.
        Overrides:
        showLockInfo in class GenericDataStoreHelper
        Parameters:
        props - properties containing information needed to connect to the database.
        Returns:
        the lock information.
        Throws:
        java.lang.Exception - if an error occurs while collecting the lock information.
      • getXAExceptionContents

        @Deprecated
        public java.lang.String getXAExceptionContents​(javax.transaction.xa.XAException xae)
        Deprecated.
        Do not use methods in this class.
        See Oracle11gDataStoreHelper.
        Specified by:
        getXAExceptionContents in interface DataStoreHelper
        Overrides:
        getXAExceptionContents in class GenericDataStoreHelper
        Parameters:
        xae - the XAException.
        Returns:
        detailed information about the XAException, for inclusion in trace.
      • modifyXAFlag

        @Deprecated
        public int modifyXAFlag​(int xaflag)
        Deprecated.
        Do not use methods in this class.
        See Oracle11gDataStoreHelper.
        Specified by:
        modifyXAFlag in interface DataStoreHelper
        Overrides:
        modifyXAFlag in class GenericDataStoreHelper
        Parameters:
        xaflag - The XA start flag to modify.
        Returns:
        The modified XA start flag.