A transient final field used as a lock is null
How transient works with final in Serialization Java
What is the effect of static final transient in Java? Why use the `transient` keyword in java? @Transient not working in hibernate Does @Transient field value get loaded? is it possible to make all fields of an object @Transient by default Trying to use the @transient variable in a different class Using Hibernate Transient Set throws null exception Java Serialization with Transient Field final transient fields and serialization Null transient attributes What is the use of transient variables? Java, hibernate transient field How does the @Transient annotation get its value? Different between transient final of primitive type and transient final wrapper type Any real time example for transient variable in java GET transient field with zero int value in java spring data Table Field Factory for a Transient variable transient in Hibernate field from database @Transient in spring data doesn't work Why is java.io.File's prefixLength transient? Making an Exception field transient in Java Not-null property references a transient value - transient instance must be saved before current operation Cannot lock an unsaved transient instance, when I am using session.lock Do javax.persistence.transient and java.bean.transient do the same thing? To initialize a transient field, what is the most simple solution Make a field transient for serialization, but non-transient for JPA Why does Java have transient fields? Exception in serialize with transient field Is it okay to to make the lock transient for a Serializable class?