Class ForUpdateClause

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    ForUpdateOfClause

    public class ForUpdateClause
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Purpose:Represents The FOR UPDATE pessimistically locking clause.
    Since:
    Oracle Toplink 10g AS
    Author:
    Stephen McRitchie
    See Also:
    Serialized Form
    • Constructor Detail

      • ForUpdateClause

        public ForUpdateClause()
      • ForUpdateClause

        public ForUpdateClause​(short lockMode)
      • ForUpdateClause

        public ForUpdateClause​(java.lang.Integer waitTimeout)
    • Method Detail

      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object
      • newInstance

        public static ForUpdateClause newInstance​(short lockMode)
      • newInstance

        public static ForUpdateClause newInstance​(java.lang.Integer waitTimeout)
      • isForUpdateOfClause

        public boolean isForUpdateOfClause()
      • isReferenceClassLocked

        public boolean isReferenceClassLocked()
      • getLockMode

        public short getLockMode()
      • getWaitTimeout

        public java.lang.Integer getWaitTimeout()
      • getAliasesOfTablesToBeLocked

        public java.util.Collection getAliasesOfTablesToBeLocked​(SQLSelectStatement statement)
        INTERNAL: Returns collection of aliases of the tables to be locked. Only used by platforms that lock tables individually in FROM clause (platform.shouldPrintLockingClauseAfterWhereClause()==false) like SQLServer