Uses of Enum Class
is.codion.common.db.database.Database.Lock
Packages that use Database.Lock
Package
Description
Database related classes.
Package configuration values:
EntityConnection.CLIENT_CONNECTION_TYPE
EntityConnection.DESCRIPTION
EntityConnection.VALIDITY_CHECK_INTERVAL
-
Uses of Database.Lock in is.codion.common.db.database
Methods in is.codion.common.db.database that return Database.LockModifier and TypeMethodDescriptionstatic Database.LockReturns the enum constant of this class with the specified name.static Database.Lock[]Database.Lock.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in is.codion.common.db.database with parameters of type Database.LockModifier and TypeMethodDescriptionDatabase.selectForUpdateClause(Database.Lock lock) Returns a select for update clause, an empty string if not supported.AbstractDatabase.selectForUpdateTableHint(Database.Lock lock) Database.selectForUpdateTableHint(Database.Lock lock) Returns a table hint for locking the selected rows, appended to the table name in the from clause of a select for update query, for databases which lock rows via a table hint instead of a select for update clause, an empty string if not applicable. -
Uses of Database.Lock in is.codion.framework.db
Methods in is.codion.framework.db that return types with arguments of type Database.LockMethods in is.codion.framework.db with parameters of type Database.LockModifier and TypeMethodDescriptionEntityConnection.Select.Builder.forUpdate(Database.Lock lock) Marks the Select instance as a FOR UPDATE query, this means the resulting rows will be locked by the given connection until unlocked by running another (non-select for update) query on the same connection or performing an update.