Class PersistenceSession.PersistenceSessionDBInterface

  • All Implemented Interfaces:
    DBInterface
    Enclosing class:
    PersistenceSession

    protected class PersistenceSession.PersistenceSessionDBInterface
    extends AbstractDBInterface
    This is a special wrapper that uses our Connection for operations. It also has to make sure the connection isn't closed, as the base class does, after operations.
    • Constructor Detail

      • PersistenceSessionDBInterface

        public PersistenceSessionDBInterface​(DBInterface gwDbi)
    • Method Detail

      • getSeq

        public long getSeq​(java.lang.String seqName,
                           java.sql.Connection connection)
                    throws java.sql.SQLException
        Description copied from interface: DBInterface
        Like the other getSeq, but operates against a particular local db connection, which may be necessary if the sequence generation is part of a transaction.
        Specified by:
        getSeq in interface DBInterface
        Overrides:
        getSeq in class AbstractDBInterface
        Throws:
        java.sql.SQLException