Class UnidirectionalOneToManyMapping

All Implemented Interfaces:
Serializable, Cloneable, ContainerMapping, MapComponentMapping, RelationalMapping

public class UnidirectionalOneToManyMapping extends OneToManyMapping

Purpose: UnidirectionalOneToManyMapping doesn't have 1:1 back reference mapping.

Since:
Eclipselink 1.1
See Also:
  • Field Details

    • shouldIncrementTargetLockValueOnAddOrRemoveTarget

      protected boolean shouldIncrementTargetLockValueOnAddOrRemoveTarget
      Indicates whether target's optimistic locking value should be incremented on target being added to / removed from a source.
    • shouldIncrementTargetLockValueOnDeleteSource

      protected boolean shouldIncrementTargetLockValueOnDeleteSource
      Indicates whether target's optimistic locking value should be incremented on the source deletion. Note that if the flag is set to true then the indirection will be triggered on source delete - in order to verify all targets' versions.
  • Constructor Details

    • UnidirectionalOneToManyMapping

      public UnidirectionalOneToManyMapping()
      PUBLIC: Default constructor.
  • Method Details