Interface ConnectionHelper


  • @Deprecated
    public interface ConnectionHelper
    Deprecated.
    Everything in this package has been replaced with SchemaManagementTool and friends.
    Contract for delegates responsible for managing connection used by the hbm2ddl tools.
    • Method Detail

      • prepare

        void prepare​(boolean needsAutoCommit)
              throws java.sql.SQLException
        Deprecated.
        Prepare the helper for use.
        Parameters:
        needsAutoCommit - Should connection be forced to auto-commit if not already.
        Throws:
        java.sql.SQLException
      • getConnection

        java.sql.Connection getConnection()
                                   throws java.sql.SQLException
        Deprecated.
        Get a reference to the connection we are using.
        Returns:
        The JDBC connection.
        Throws:
        java.sql.SQLException
      • release

        void release()
              throws java.sql.SQLException
        Deprecated.
        Release any resources held by this helper.
        Throws:
        java.sql.SQLException