diff --git a/jOOQ/src/main/java/org/jooq/AttachableInternal.java b/jOOQ/src/main/java/org/jooq/AttachableInternal.java
index 523a6b3163..b7addec501 100644
--- a/jOOQ/src/main/java/org/jooq/AttachableInternal.java
+++ b/jOOQ/src/main/java/org/jooq/AttachableInternal.java
@@ -35,7 +35,6 @@
*/
package org.jooq;
-import java.util.List;
/**
* Base functionality declaration for all {@link Attachable}s
@@ -46,17 +45,6 @@ import java.util.List;
*/
public interface AttachableInternal extends Attachable {
- /**
- * Get the list of dependent Attachables
- *
- * This method is for JOOQ INTERNAL USE only. Do not reference directly
- *
- * @deprecated - 2.5.0 [#1544] - This internal method will be removed soon.
- * Do not reuse.
- */
- @Deprecated
- List
- *
- * Note: This simulation may not be efficient for large result sets!
- *
- * If your dialect does not support this clause, jOOQ will still render it,
- * if you apply it to your query. This might then cause syntax errors
- * reported either by your database or your JDBC driver.
- *
- * You shouldn't combine this with {@link #setForShare(boolean)}
- *
- * @param forUpdate The flag's value
- */
- @Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
- void setForUpdate(boolean forUpdate);
-
- /**
- * Some RDBMS allow for specifying the fields that should be locked by the
- *
- * This automatically sets the {@link #setForUpdate(boolean)} flag, and
- * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
- *
- * This has been observed to be natively supported by any of these dialects:
- *
- * Note, that {@link SQLDialect#DB2} has some stricter requirements
- * regarding the updatability of fields. Refer to the DB2 documentation for
- * further details
- *
- * @param fields The fields that should be locked
- */
- @Support({ DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, ORACLE, SYBASE })
- void setForUpdateOf(Field>... fields);
-
- /**
- * Some RDBMS allow for specifying the fields that should be locked by the
- *
- *
- * @see #setForUpdateOf(Field...)
- */
- @Support({ DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, ORACLE, SYBASE })
- void setForUpdateOf(Collection extends Field>> fields);
-
- /**
- * Some RDBMS allow for specifying the tables that should be locked by the
- *
- * This automatically sets the {@link #setForUpdate(boolean)} flag, and
- * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
- *
- * This has been observed to be natively supported by any of these dialects:
- *
- * jOOQ simulates this by locking all known fields of [
- * This automatically sets the {@link #setForUpdate(boolean)} flag, and
- * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
- *
- * This has been observed to be supported by any of these dialects:
- *
- * This automatically sets the {@link #setForUpdate(boolean)} flag, and
- * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
- *
- * This has been observed to be supported by any of these dialects:
- *
- * This automatically sets the {@link #setForUpdate(boolean)} flag, and
- * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
- *
- * This has been observed to be supported by any of these dialects:
- *
- * This has been observed to be supported by any of these dialects:
- *
- * If your dialect does not support this clause, jOOQ will still render it,
- * if you apply it to your query. This might then cause syntax errors
- * reported either by your database or your JDBC driver.
- *
- * You shouldn't combine this with {@link #setForUpdate(boolean)}
- *
- * @param forShare The flag's value
- */
- @Support({ MYSQL, POSTGRES })
- void setForShare(boolean forShare);
-}
diff --git a/jOOQ/src/main/java/org/jooq/OrderProvider.java b/jOOQ/src/main/java/org/jooq/OrderProvider.java
deleted file mode 100644
index 91301bad38..0000000000
--- a/jOOQ/src/main/java/org/jooq/OrderProvider.java
+++ /dev/null
@@ -1,217 +0,0 @@
-/**
- * Copyright (c) 2009-2012, Lukas Eder, lukas.eder@gmail.com
- * All rights reserved.
- *
- * This software is licensed to you under the Apache License, Version 2.0
- * (the "License"); You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * . Redistributions of source code must retain the above copyright notice, this
- * list of conditions and the following disclaimer.
- *
- * . Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * . Neither the name "jOOQ" nor the names of its contributors may be
- * used to endorse or promote products derived from this software without
- * specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-package org.jooq;
-
-import static org.jooq.SQLDialect.CUBRID;
-import static org.jooq.SQLDialect.DB2;
-import static org.jooq.SQLDialect.DERBY;
-import static org.jooq.SQLDialect.FIREBIRD;
-import static org.jooq.SQLDialect.H2;
-import static org.jooq.SQLDialect.HSQLDB;
-import static org.jooq.SQLDialect.INGRES;
-import static org.jooq.SQLDialect.MYSQL;
-import static org.jooq.SQLDialect.ORACLE;
-import static org.jooq.SQLDialect.POSTGRES;
-import static org.jooq.SQLDialect.SQLITE;
-import static org.jooq.SQLDialect.SQLSERVER;
-import static org.jooq.SQLDialect.SYBASE;
-
-import java.util.Collection;
-
-/**
- * A query that can be ordered and limited
- *
- * @author Lukas Eder
- * @deprecated - 2.6.0 [#1881] - This type will be removed from the public API,
- * soon. Its methods will be pushed down into extending interfaces.
- * Do not reference this type directly.
- */
-@Deprecated
-public interface OrderProvider {
-
- /**
- * Adds ordering fields, ordering by the default sort order
- *
- * @param fields The ordering fields
- */
- @Support
- void addOrderBy(Field>... fields);
-
- /**
- * Adds ordering fields
- *
- * @param fields The ordering fields
- */
- @Support
- void addOrderBy(SortField>... fields);
-
- /**
- * Adds ordering fields
- *
- * @param fields The ordering fields
- */
- @Support
- void addOrderBy(Collection
- * Indexes start at
- * Note, you can use
- * This clause can be used only along with Oracle's
- * This is the same as calling {@link #addLimit(int, int)} with offset = 0
- *
- * @param numberOfRows The number of rows to return
- */
- @Support
- void addLimit(int numberOfRows);
-
- /**
- * Limit the results of this select using named parameters
- *
- * Note that some dialects do not support bind values at all in
- *
- * If there is no
- * This is the same as calling {@link #addLimit(int, int)} with offset = 0
- *
- * @param numberOfRows The number of rows to return
- */
- @Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
- void addLimit(Param
- * Note that some dialects do not support bind values at all in
- *
- * If there is no
- * Note that some dialects do not support bind values at all in
- *
- * If there is no
- * Note that some dialects do not support bind values at all in
- *
- * If there is no
- * Note that some dialects do not support bind values at all in
- *
- * If there is no
+ * Indexes start at
+ * Note, you can use
+ * This clause can be used only along with Oracle's
+ * This is the same as calling {@link #addLimit(int, int)} with offset = 0
+ *
+ * @param numberOfRows The number of rows to return
*/
- @Override
@Support
void addLimit(int numberOfRows);
/**
- * {@inheritDoc}
+ * Limit the results of this select using named parameters
+ *
+ * Note that some dialects do not support bind values at all in
+ *
+ * If there is no
+ * This is the same as calling {@link #addLimit(int, int)} with offset = 0
+ *
+ * @param numberOfRows The number of rows to return
*/
- @Override
@Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
void addLimit(Param
+ * Note that some dialects do not support bind values at all in
+ *
+ * If there is no
+ * Note that some dialects do not support bind values at all in
+ *
+ * If there is no
+ * Note that some dialects do not support bind values at all in
+ *
+ * If there is no
+ * Note that some dialects do not support bind values at all in
+ *
+ * If there is no
+ *
+ * Note: This simulation may not be efficient for large result sets!
+ *
+ * If your dialect does not support this clause, jOOQ will still render it,
+ * if you apply it to your query. This might then cause syntax errors
+ * reported either by your database or your JDBC driver.
+ *
+ * You shouldn't combine this with {@link #setForShare(boolean)}
+ *
+ * @param forUpdate The flag's value
*/
- @Override
@Support({ ASE, CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLSERVER, SYBASE })
void setForUpdate(boolean forUpdate);
/**
- * {@inheritDoc}
+ * Some RDBMS allow for specifying the fields that should be locked by the
+ *
+ * This automatically sets the {@link #setForUpdate(boolean)} flag, and
+ * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
+ *
+ * This has been observed to be natively supported by any of these dialects:
+ *
+ * Note, that {@link SQLDialect#DB2} has some stricter requirements
+ * regarding the updatability of fields. Refer to the DB2 documentation for
+ * further details
+ *
+ * @param fields The fields that should be locked
*/
- @Override
@Support({ DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, ORACLE, SYBASE })
void setForUpdateOf(Field>... fields);
/**
- * {@inheritDoc}
+ * Some RDBMS allow for specifying the fields that should be locked by the
+ *
+ *
+ * @see #setForUpdateOf(Field...)
*/
- @Override
@Support({ DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, ORACLE, SYBASE })
void setForUpdateOf(Collection extends Field>> fields);
/**
- * {@inheritDoc}
+ * Some RDBMS allow for specifying the tables that should be locked by the
+ *
+ * This automatically sets the {@link #setForUpdate(boolean)} flag, and
+ * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
+ *
+ * This has been observed to be natively supported by any of these dialects:
+ *
+ * jOOQ simulates this by locking all known fields of [
+ * This automatically sets the {@link #setForUpdate(boolean)} flag, and
+ * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
+ *
+ * This has been observed to be supported by any of these dialects:
+ *
+ * This automatically sets the {@link #setForUpdate(boolean)} flag, and
+ * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
+ *
+ * This has been observed to be supported by any of these dialects:
+ *
+ * This automatically sets the {@link #setForUpdate(boolean)} flag, and
+ * unsets the {@link #setForShare(boolean)} flag, if it was previously set.
+ *
+ * This has been observed to be supported by any of these dialects:
+ *
+ * This has been observed to be supported by any of these dialects:
+ *
+ * If your dialect does not support this clause, jOOQ will still render it,
+ * if you apply it to your query. This might then cause syntax errors
+ * reported either by your database or your JDBC driver.
+ *
+ * You shouldn't combine this with {@link #setForUpdate(boolean)}
+ *
+ * @param forShare The flag's value
*/
- @Override
@Support({ MYSQL, POSTGRES })
void setForShare(boolean forShare);
+
}
diff --git a/jOOQ/src/main/java/org/jooq/impl/AbstractQuery.java b/jOOQ/src/main/java/org/jooq/impl/AbstractQuery.java
index e0cf119622..79c37ad36c 100644
--- a/jOOQ/src/main/java/org/jooq/impl/AbstractQuery.java
+++ b/jOOQ/src/main/java/org/jooq/impl/AbstractQuery.java
@@ -47,7 +47,6 @@ import java.util.Collections;
import java.util.List;
import java.util.Map;
-import org.jooq.Attachable;
import org.jooq.AttachableInternal;
import org.jooq.Configuration;
import org.jooq.ExecuteContext;
@@ -89,11 +88,6 @@ abstract class AbstractQuery extends AbstractQueryPart implements Query, Attacha
return configuration;
}
- @Override
- public final ListFOR UPDATE clause
- *
- * @author Lukas Eder
- * @deprecated - 2.6.0 [#1881] - This type will be removed from the public API,
- * soon. Its methods will be pushed down into extending interfaces.
- * Do not reference this type directly.
- */
-@Deprecated
-public interface LockProvider {
-
- /**
- * Sets the "FOR UPDATE" flag onto the query
- * Native implementation
This has been observed to be supported by
- * any of these dialects:
- *
- *
- * Simulation
These dialects can simulate the
- * FOR UPDATE clause using a cursor. The cursor is handled by
- * the JDBC driver, at {@link PreparedStatement} construction time, when
- * calling {@link Connection#prepareStatement(String, int, int)} with
- * {@link ResultSet#CONCUR_UPDATABLE}. jOOQ handles simulation of a
- * FOR UPDATE clause using CONCUR_UPDATABLE for
- * these dialects:
- *
- *
- * Not supported
These dialects are known not to support the
- * FOR UPDATE clause in regular SQL:
- *
- *
- * FOR UPDATE clause, instead of the full row.
- *
- *
- * FOR UPDATE clause, instead of the full row.
- * FOR UPDATE clause, instead of the full row.
- *
- *
- * tables]
- * for any of these dialects:
- *
- *
- *
- * @param tables The tables that should be locked
- */
- @Support({ DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, POSTGRES, ORACLE, SYBASE })
- void setForUpdateOf(Table>... tables);
-
- /**
- * Some RDBMS allow for specifying the locking mode for the applied
- * FOR UPDATE clause. In this case, the session will wait for
- * some seconds, before aborting the lock acquirement if the
- * lock is not available.
- *
- *
- *
- * @param seconds The number of seconds to wait for a lock
- */
- @Support(ORACLE)
- void setForUpdateWait(int seconds);
-
- /**
- * Some RDBMS allow for specifying the locking mode for the applied
- * FOR UPDATE clause. In this case, the session will not wait
- * before aborting the lock acquirement if the lock is not available.
- *
- *
- */
- @Support(ORACLE)
- void setForUpdateNoWait();
-
- /**
- * Some RDBMS allow for specifying the locking mode for the applied
- * FOR UPDATE clause. In this case, the session will skip all
- * locked rows from the select statement, whose lock is not available.
- *
- *
- */
- @Support(ORACLE)
- void setForUpdateSkipLocked();
-
- /**
- * Sets the "FOR SHARE" flag onto the query
- * 1 in SQL!
- * addOrderBy(Factory.val(1).desc()) or
- * addOrderBy(Factory.literal(1).desc()) to apply descending
- * ordering
- *
- * @param fieldIndexes The ordering fields
- */
- @Support
- void addOrderBy(int... fieldIndexes);
-
- /**
- * Indicate whether the SIBLINGS keyword should be used in an
- * ORDER BY clause to form an ORDER SIBLINGS BY
- * clause.
- * CONNECT BY
- * clause, to indicate that the hierarchical ordering should be preserved
- * and elements of each hierarchy should be ordered among themselves.
- *
- * @param orderBySiblings
- */
- @Support({ CUBRID, ORACLE })
- void setOrderBySiblings(boolean orderBySiblings);
-
- /**
- * Limit the results of this select
- * LIMIT or TOP clauses!
- * LIMIT or TOP clause in your
- * RDBMS, or the LIMIT or TOP clause does not
- * support bind values, this may be simulated with a
- * ROW_NUMBER() window function and nested SELECT
- * statements.
- * LIMIT or TOP clauses!
- * LIMIT or TOP clause in your
- * RDBMS, or if your RDBMS does not natively support offsets, this is
- * simulated with a ROW_NUMBER() window function and nested
- * SELECT statements.
- *
- * @param offset The lowest offset starting at 0
- * @param numberOfRows The number of rows to return
- */
- @Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
- void addLimit(int offset, int numberOfRows);
-
- /**
- * Limit the results of this select
- * LIMIT or TOP clauses!
- * LIMIT or TOP clause in your
- * RDBMS, or the LIMIT or TOP clause does not
- * support bind values, or if your RDBMS does not natively support offsets,
- * this may be simulated with a ROW_NUMBER() window function
- * and nested SELECT statements.
- *
- * @param offset The lowest offset starting at 0
- * @param numberOfRows The number of rows to return
- */
- @Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
- void addLimit(ParamLIMIT or TOP clauses!
- * LIMIT or TOP clause in your
- * RDBMS, or the LIMIT or TOP clause does not
- * support bind values, or if your RDBMS does not natively support offsets,
- * this may be simulated with a ROW_NUMBER() window function
- * and nested SELECT statements.
- *
- * @param offset The lowest offset starting at 0
- * @param numberOfRows The number of rows to return
- */
- @Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
- void addLimit(int offset, ParamLIMIT or TOP clauses!
- * LIMIT or TOP clause in your
- * RDBMS, or the LIMIT or TOP clause does not
- * support bind values, or if your RDBMS does not natively support offsets,
- * this may be simulated with a ROW_NUMBER() window function
- * and nested SELECT statements.
- *
- * @param offset The lowest offset starting at 0
- * @param numberOfRows The number of rows to return
- */
- @Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
- void addLimit(Param1 in SQL!
+ * addOrderBy(Factory.val(1).desc()) or
+ * addOrderBy(Factory.literal(1).desc()) to apply descending
+ * ordering
+ *
+ * @param fieldIndexes The ordering fields
*/
- @Override
@Support
void addOrderBy(int... fieldIndexes);
/**
- * {@inheritDoc}
+ * Indicate whether the SIBLINGS keyword should be used in an
+ * ORDER BY clause to form an ORDER SIBLINGS BY
+ * clause.
+ * CONNECT BY
+ * clause, to indicate that the hierarchical ordering should be preserved
+ * and elements of each hierarchy should be ordered among themselves.
+ *
+ * @param orderBySiblings
*/
- @Override
@Support({ CUBRID, ORACLE })
void setOrderBySiblings(boolean orderBySiblings);
/**
- * {@inheritDoc}
+ * Limit the results of this select
+ * LIMIT or TOP clauses!
+ * LIMIT or TOP clause in your
+ * RDBMS, or the LIMIT or TOP clause does not
+ * support bind values, this may be simulated with a
+ * ROW_NUMBER() window function and nested SELECT
+ * statements.
+ * LIMIT or TOP clauses!
+ * LIMIT or TOP clause in your
+ * RDBMS, or if your RDBMS does not natively support offsets, this is
+ * simulated with a ROW_NUMBER() window function and nested
+ * SELECT statements.
+ *
+ * @param offset The lowest offset starting at 0
+ * @param numberOfRows The number of rows to return
*/
- @Override
@Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
void addLimit(int offset, int numberOfRows);
/**
- * {@inheritDoc}
+ * Limit the results of this select
+ * LIMIT or TOP clauses!
+ * LIMIT or TOP clause in your
+ * RDBMS, or the LIMIT or TOP clause does not
+ * support bind values, or if your RDBMS does not natively support offsets,
+ * this may be simulated with a ROW_NUMBER() window function
+ * and nested SELECT statements.
+ *
+ * @param offset The lowest offset starting at 0
+ * @param numberOfRows The number of rows to return
*/
- @Override
@Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
void addLimit(ParamLIMIT or TOP clauses!
+ * LIMIT or TOP clause in your
+ * RDBMS, or the LIMIT or TOP clause does not
+ * support bind values, or if your RDBMS does not natively support offsets,
+ * this may be simulated with a ROW_NUMBER() window function
+ * and nested SELECT statements.
+ *
+ * @param offset The lowest offset starting at 0
+ * @param numberOfRows The number of rows to return
*/
- @Override
@Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
void addLimit(int offset, ParamLIMIT or TOP clauses!
+ * LIMIT or TOP clause in your
+ * RDBMS, or the LIMIT or TOP clause does not
+ * support bind values, or if your RDBMS does not natively support offsets,
+ * this may be simulated with a ROW_NUMBER() window function
+ * and nested SELECT statements.
+ *
+ * @param offset The lowest offset starting at 0
+ * @param numberOfRows The number of rows to return
*/
- @Override
@Support({ CUBRID, DB2, DERBY, FIREBIRD, H2, HSQLDB, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE })
void addLimit(ParamNative implementation
This has been observed to be supported by
+ * any of these dialects:
+ *
+ *
+ * Simulation
These dialects can simulate the
+ * FOR UPDATE clause using a cursor. The cursor is handled by
+ * the JDBC driver, at {@link PreparedStatement} construction time, when
+ * calling {@link Connection#prepareStatement(String, int, int)} with
+ * {@link ResultSet#CONCUR_UPDATABLE}. jOOQ handles simulation of a
+ * FOR UPDATE clause using CONCUR_UPDATABLE for
+ * these dialects:
+ *
+ *
+ * Not supported
These dialects are known not to support the
+ * FOR UPDATE clause in regular SQL:
+ *
+ *
+ * FOR UPDATE clause, instead of the full row.
+ *
+ *
+ * FOR UPDATE clause, instead of the full row.
+ * FOR UPDATE clause, instead of the full row.
+ *
+ *
+ * tables]
+ * for any of these dialects:
+ *
+ *
+ *
+ * @param tables The tables that should be locked
*/
- @Override
@Support({ DB2, DERBY, FIREBIRD, H2, HSQLDB, INGRES, POSTGRES, ORACLE, SYBASE })
void setForUpdateOf(Table>... tables);
/**
- * {@inheritDoc}
+ * Some RDBMS allow for specifying the locking mode for the applied
+ * FOR UPDATE clause. In this case, the session will wait for
+ * some seconds, before aborting the lock acquirement if the
+ * lock is not available.
+ *
+ *
+ *
+ * @param seconds The number of seconds to wait for a lock
*/
- @Override
@Support(ORACLE)
void setForUpdateWait(int seconds);
/**
- * {@inheritDoc}
+ * Some RDBMS allow for specifying the locking mode for the applied
+ * FOR UPDATE clause. In this case, the session will not wait
+ * before aborting the lock acquirement if the lock is not available.
+ *
+ *
*/
- @Override
@Support(ORACLE)
void setForUpdateNoWait();
/**
- * {@inheritDoc}
+ * Some RDBMS allow for specifying the locking mode for the applied
+ * FOR UPDATE clause. In this case, the session will skip all
+ * locked rows from the select statement, whose lock is not available.
+ *
+ *
*/
- @Override
@Support(ORACLE)
void setForUpdateSkipLocked();
/**
- * {@inheritDoc}
+ * Sets the "FOR SHARE" flag onto the query
+ *