Module eclipselink

Class SequenceDefinition

    • Field Detail

      • sequence

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        protected Sequence sequence
        Deprecated, for removal: This API element is subject to removal in a future version.
        To be removed with no replacement.
    • Method Detail

      • checkIfExist

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        public abstract boolean checkIfExist​(org.eclipse.persistence.internal.sessions.AbstractSession session)
                                      throws DatabaseException
        Deprecated, for removal: This API element is subject to removal in a future version.
        Implement DatabasePlatform.checkSequenceExists(...) instead.
        INTERNAL: Verify whether the sequence exists.
        Throws:
        DatabaseException
      • getInitialValue

        public int getInitialValue()
      • getPreallocationSize

        public int getPreallocationSize()
      • isAlterSupported

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        public boolean isAlterSupported​(org.eclipse.persistence.internal.sessions.AbstractSession session)
        Deprecated, for removal: This API element is subject to removal in a future version.
        INTERNAL: Indicates whether alter is supported
      • isTableSequenceDefinition

        public boolean isTableSequenceDefinition()
        INTERNAL:
      • alterOnDatabase

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        public void alterOnDatabase​(org.eclipse.persistence.internal.sessions.AbstractSession session)
                             throws EclipseLinkException
        Deprecated, for removal: This API element is subject to removal in a future version.
        INTERNAL: By default, does nothing.
        Throws:
        EclipseLinkException
      • alter

        @Deprecated(forRemoval=true,
                    since="4.0.9")
        public void alter​(org.eclipse.persistence.internal.sessions.AbstractSession session,
                          Writer writer)
                   throws ValidationException
        Deprecated, for removal: This API element is subject to removal in a future version.
        INTERNAL: Execute the SQL required to alter sequence. By default, does nothing.
        Throws:
        ValidationException
      • buildTableDefinition

        public TableDefinition buildTableDefinition()
        INTERNAL: Return a TableDefinition
      • setInitialValue

        public void setInitialValue​(int initialValue)
      • setPreallocationSize

        public void setPreallocationSize​(int preallocationSize)