Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)


Annotation Type PrivateOwned

public @interface PrivateOwned

A PrivateOwned annotation is used to specify a relationship is privately owned. A privately owned relationship means the target object is a dependent part of the source object and is not referenced by any other object and cannot exist on its own. Private ownership causes many operations to be cascaded across the relationship, including, deletion, insertion, refreshing, locking (when cascaded). It also ensures that private objects removed from collections are deleted and object added are inserted. A PrivateOwned annotation can be used in conjunction with a OneToOne, OneToMany and VariableOneToOne annotation. Private ownership is implied with the BasicCollection and BasicMap annotation.

Oracle TopLink
Guy Pelletier

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.