Interface DdlDetect


public interface DdlDetect
Detect non-transactional SQL statements that must run after normal sql statements with connection set to auto commit true.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DdlDetect
     
    static final DdlDetect
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static DdlDetect
    Return the implementation for the given platform.
    boolean
    Return false if the SQL is non-transactional and should run with auto commit.
  • Field Details

  • Method Details

    • forPlatform

      static DdlDetect forPlatform(String name)
      Return the implementation for the given platform.
    • transactional

      boolean transactional(String sql)
      Return false if the SQL is non-transactional and should run with auto commit.