Interface TransientProperty

  • All Superinterfaces:
    Property, Serializable
    All Known Subinterfaces:

    public interface TransientProperty
    extends Property
    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

      • isModifiesEntity

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