Class CacheSequenceSupport

  • All Implemented Interfaces:
    org.hibernate.dialect.sequence.SequenceSupport

    public final class CacheSequenceSupport
    extends Object
    implements org.hibernate.dialect.sequence.SequenceSupport
    Sequence support for CacheDialect. Use of sequences on Cache is not recommended.
    • Field Detail

      • INSTANCE

        public static final org.hibernate.dialect.sequence.SequenceSupport INSTANCE
    • Constructor Detail

      • CacheSequenceSupport

        public CacheSequenceSupport()
    • Method Detail

      • getSequenceNextValString

        public String getSequenceNextValString​(String sequenceName)
        Specified by:
        getSequenceNextValString in interface org.hibernate.dialect.sequence.SequenceSupport
      • getSelectSequenceNextValString

        public String getSelectSequenceNextValString​(String sequenceName)
        Specified by:
        getSelectSequenceNextValString in interface org.hibernate.dialect.sequence.SequenceSupport
      • getCreateSequenceString

        public String getCreateSequenceString​(String sequenceName)
        Specified by:
        getCreateSequenceString in interface org.hibernate.dialect.sequence.SequenceSupport
      • getDropSequenceString

        public String getDropSequenceString​(String sequenceName)
        Specified by:
        getDropSequenceString in interface org.hibernate.dialect.sequence.SequenceSupport
      • supportsPooledSequences

        public boolean supportsPooledSequences()
        Specified by:
        supportsPooledSequences in interface org.hibernate.dialect.sequence.SequenceSupport