[#1035] SelectOffsetStep does not extend SelectForUpdateStep. LIMIT .. OFFSET .. FOR UPDATE clauses are not possible

This commit is contained in:
Lukas Eder 2012-01-05 20:48:34 +00:00
parent 0d94769f2a
commit b292033de5

View File

@ -89,7 +89,7 @@ import static org.jooq.SQLDialect.SYBASE;
*
* @author Lukas Eder
*/
public interface SelectOffsetStep extends SelectForUpdateStep {
public interface SelectOffsetStep extends SelectFinalStep {
/**
* Add an <code>OFFSET</code> clause to the query
@ -100,5 +100,5 @@ public interface SelectOffsetStep extends SelectForUpdateStep {
* <code>SELECT</code> statements.
*/
@Support({DB2, DERBY, H2, HSQLDB, INGRES, MYSQL, ORACLE, POSTGRES, SQLITE, SQLSERVER, SYBASE})
SelectForUpdateStep offset(int offset);
SelectFinalStep offset(int offset);
}