|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
R - The record type being returned by this querypublic interface SimpleSelectForUpdateStep<R extends Record>
This type is used for the Select's DSL API when selecting specific
Record types.
Example: Refer to the manual for more details
create.selectFrom(T_AUTHOR)
.where(TBook.LANGUAGE.equal("DE"))
.and(TBook.PUBLISHED.greaterThan(parseDate('2008-01-01')))
.orderBy(TAuthor.LAST_NAME.asc().nullsFirst())
.limit(2)
.offset(1)
.forUpdate()
.of(TAuthor.FIRST_NAME, TAuthor.LAST_NAME)
.noWait();
| Method Summary | |
|---|---|
SimpleSelectFinalStep<R> |
forShare()
Add a FOR SHARE clause to the end of the query. |
SimpleSelectForUpdateOfStep<R> |
forUpdate()
Add a FOR UPDATE clause to the end of the query. |
| Methods inherited from interface org.jooq.SimpleSelectFinalStep |
|---|
getQuery |
| Methods inherited from interface org.jooq.Select |
|---|
except, getSelect, intersect, union, unionAll |
| Methods inherited from interface org.jooq.ResultQuery |
|---|
bind, bind, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetch, fetchAny, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArray, fetchArrays, fetchInto, fetchInto, fetchInto, fetchLater, fetchLater, fetchLazy, fetchLazy, fetchMany, fetchMap, fetchMap, fetchMaps, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOne, fetchOneArray, fetchOneMap, fetchResultSet, getRecordType, getResult |
| Methods inherited from interface org.jooq.Query |
|---|
execute, getBindValues, getParam, getParams, getSQL, getSQL |
| Methods inherited from interface org.jooq.Attachable |
|---|
attach |
| Methods inherited from interface org.jooq.Adapter |
|---|
internalAPI |
| Methods inherited from interface org.jooq.TableLike |
|---|
asTable, asTable |
| Methods inherited from interface org.jooq.FieldLike |
|---|
asField, asField |
| Methods inherited from interface org.jooq.FieldProvider |
|---|
getField, getField, getField, getFields, getIndex |
| Method Detail |
|---|
SimpleSelectForUpdateOfStep<R> forUpdate()
FOR UPDATE clause to the end of the query.
Note: not all SQL dialects allow for combining a FOR UPDATE
clause with LIMIT .. OFFSET, or with GROUP BY.
This essentially includes SQLDialect.INGRES and
SQLDialect.ORACLE. These incompatibilities are not reflected by
the jOOQ API.
see LockProvider for more detailsSimpleSelectFinalStep<R> forShare()
FOR SHARE clause to the end of the query.
see LockProvider for more details
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||