Class RDMSSequenceSupport

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

    public final class RDMSSequenceSupport
    extends Object
    implements org.hibernate.dialect.sequence.SequenceSupport
    Sequence support for RDMSOS2200Dialect. Note that RDMS doesn't really have sequences as such, but it does have the GUID-like permuted_id() and unique_id() functions which generate unique integers.
    • Field Detail

      • INSTANCE

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

      • RDMSSequenceSupport

        public RDMSSequenceSupport()
    • Method Detail

      • getSelectSequenceNextValString

        public String getSelectSequenceNextValString​(String sequenceName)
                                              throws org.hibernate.MappingException
        Specified by:
        getSelectSequenceNextValString in interface org.hibernate.dialect.sequence.SequenceSupport
        Throws:
        org.hibernate.MappingException
      • getFromDual

        public String getFromDual()
        Specified by:
        getFromDual 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