Class ControlDAOImpl

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ControlDAOImpl.PostgreSQL
      PostgreSQL-specific implementation for control DAO.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.mybatis.spring.SqlSessionTemplate template
      The myBatis-specific template for convenient statement execution.
    • Constructor Summary

      Constructors 
      Constructor Description
      ControlDAOImpl()  
    • Field Detail

      • template

        protected org.mybatis.spring.SqlSessionTemplate template
        The myBatis-specific template for convenient statement execution.
    • Constructor Detail

      • ControlDAOImpl

        public ControlDAOImpl()
    • Method Detail

      • setSqlSessionTemplate

        public final void setSqlSessionTemplate​(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
      • startBatch

        public void startBatch()
        Description copied from interface: ControlDAO
        Begin batching prepared statements for later execution.
        See Also:
        ControlDAO.executeBatch()
      • executeBatch

        public void executeBatch()
        Description copied from interface: ControlDAO
        Execute statements that were queued for batching.
        See Also:
        ControlDAO.startBatch()
      • setTransactionIsolationLevel

        public int setTransactionIsolationLevel​(int isolationLevel)
        Description copied from interface: ControlDAO
        Change the current transaction isolation level.

        Note: The isolation level should not - and for some DBs, cannot - be changed except at the very start of the transaction

        Specified by:
        setTransactionIsolationLevel in interface ControlDAO
        Overrides:
        setTransactionIsolationLevel in class AbstractControlDAOImpl
        Parameters:
        isolationLevel - the transaction isolation level
        Returns:
        Returns the previously-set isolation