Interface TransientProperty<T>

  • Type Parameters:
    T - the property value type
    All Superinterfaces:
    All Known Subinterfaces:

    public interface TransientProperty<T>
    extends Property<T>
    A property that does not map to an underlying database column. The value of a transient property is initialized to null when entities are loaded, which means transient properties always have null as the original value. The value of transient properties can be set and retrieved like normal properties but are ignored during DML operations. Note that by default setting a transient value marks the entity as being modified, but trying to update an entity with only transient values modified will result in an error.
    • Method Detail

      • modifiesEntity

        boolean modifiesEntity()
        true if the value of this property being modified should result in a modified entity