类 MySQL8Dialect

    • 构造器详细资料

      • MySQL8Dialect

        public MySQL8Dialect()
    • 方法详细资料

      • getWriteLockString

        public String getWriteLockString​(int timeout)
        从类复制的说明: Dialect
        Get the string to append to SELECT statements to acquire WRITE locks for this dialect. Location of the returned string is treated the same as getForUpdateString.
        覆盖:
        getWriteLockString 在类中 MySQLDialect
        参数:
        timeout - in milliseconds, -1 for indefinite wait and 0 for no wait.
        返回:
        The appropriate LOCK clause string.
      • getWriteLockString

        public String getWriteLockString​(String aliases,
                                         int timeout)
        从类复制的说明: Dialect
        Get the string to append to SELECT statements to acquire WRITE locks for this dialect given the aliases of the columns to be write locked. Location of the of the returned string is treated the same as getForUpdateString.
        覆盖:
        getWriteLockString 在类中 Dialect
        参数:
        aliases - The columns to be read locked.
        timeout - in milliseconds, -1 for indefinite wait and 0 for no wait.
        返回:
        The appropriate LOCK clause string.
      • getReadLockString

        public String getReadLockString​(int timeout)
        从类复制的说明: Dialect
        Get the string to append to SELECT statements to acquire READ locks for this dialect. Location of the returned string is treated the same as getForUpdateString.
        覆盖:
        getReadLockString 在类中 MySQLDialect
        参数:
        timeout - in milliseconds, -1 for indefinite wait and 0 for no wait.
        返回:
        The appropriate LOCK clause string.
      • getReadLockString

        public String getReadLockString​(String aliases,
                                        int timeout)
        从类复制的说明: Dialect
        Get the string to append to SELECT statements to acquire READ locks for this dialect given the aliases of the columns to be read locked. Location of the returned string is treated the same as getForUpdateString.
        覆盖:
        getReadLockString 在类中 Dialect
        参数:
        aliases - The columns to be read locked.
        timeout - in milliseconds, -1 for indefinite wait and 0 for no wait.
        返回:
        The appropriate LOCK clause string.
      • getForUpdateSkipLockedString

        public String getForUpdateSkipLockedString()
        从类复制的说明: Dialect
        Retrieves the FOR UPDATE SKIP LOCKED syntax specific to this dialect.
        覆盖:
        getForUpdateSkipLockedString 在类中 Dialect
        返回:
        The appropriate FOR UPDATE SKIP LOCKED clause string.
      • getForUpdateSkipLockedString

        public String getForUpdateSkipLockedString​(String aliases)
        从类复制的说明: Dialect
        Get the FOR UPDATE OF column_list SKIP LOCKED fragment appropriate for this dialect given the aliases of the columns to be write locked.
        覆盖:
        getForUpdateSkipLockedString 在类中 Dialect
        参数:
        aliases - The columns to be write locked.
        返回:
        The appropriate FOR UPDATE colunm_list SKIP LOCKED clause string.
      • getForUpdateNowaitString

        public String getForUpdateNowaitString()
        从类复制的说明: Dialect
        Retrieves the FOR UPDATE NOWAIT syntax specific to this dialect.
        覆盖:
        getForUpdateNowaitString 在类中 Dialect
        返回:
        The appropriate FOR UPDATE NOWAIT clause string.
      • getForUpdateNowaitString

        public String getForUpdateNowaitString​(String aliases)
        从类复制的说明: Dialect
        Get the FOR UPDATE OF column_list NOWAIT fragment appropriate for this dialect given the aliases of the columns to be write locked.
        覆盖:
        getForUpdateNowaitString 在类中 Dialect
        参数:
        aliases - The columns to be write locked.
        返回:
        The appropriate FOR UPDATE OF colunm_list NOWAIT clause string.
      • getForUpdateString

        public String getForUpdateString​(String aliases)
        从类复制的说明: Dialect
        Get the FOR UPDATE OF column_list fragment appropriate for this dialect given the aliases of the columns to be write locked.
        覆盖:
        getForUpdateString 在类中 Dialect
        参数:
        aliases - The columns to be write locked.
        返回:
        The appropriate FOR UPDATE OF column_list clause string.
      • supportsSkipLocked

        public boolean supportsSkipLocked()
        从类复制的说明: Dialect
        Does this dialect/database support SKIP_LOCKED timeout.
        覆盖:
        supportsSkipLocked 在类中 Dialect
        返回:
        true if SKIP_LOCKED is supported
      • supportsNoWait

        public boolean supportsNoWait()
        从类复制的说明: Dialect
        Does this dialect/database support NO_WAIT timeout.
        覆盖:
        supportsNoWait 在类中 Dialect
        返回:
        true if NO_WAIT is supported