Package org.keycloak.connections.jpa.updater.liquibase.lock
package org.keycloak.connections.jpa.updater.liquibase.lock
-
ClassDescriptionWe need to remove DELETE SQL command, which liquibase adds by default when inserting record to table lock.We use "SELECT FOR UPDATE" pessimistic locking (Same algorithm like Hibernate LockMode.PESSIMISTIC_WRITE )Liquibase lock service, which has some bugfixes and assumes timeouts to be configured in millisecondsDummy lock service injected to Liquibase.Indicates that retrieve lock wasn't successful, but it worth to retry it in different transaction (For example if we were trying to create LOCK table, but other transaction created the table in the meantime etc)