openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Sutter" <kwsut...@gmail.com>
Subject @Dependent annotation vs cascade=ALL
Date Wed, 07 Mar 2007 19:47:07 GMT
Hi,
Can someone explain the difference between the @Dependent annotation and the
cascade=ALL (or any of the cascading actions) element of the relationship
annotations?  From what I can tell in the documentation, they provide
similar function.  Maybe the @Dependent (and associated @ElementDependent
and @KeyDependent) annotations pre-date JPA?  Like they were required for
previous versions of Kodo?  I can understand that we need to support the
previous users of Kodo, but should we update the documentation accordingly?
Maybe I'm missing the intent of these annotations.  I don't mind being
educated.  Thanks!

Kevin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message