users@glassfish.java.net

Re: ON DELETE RESTRICT via annotation?

From: <glassfish_at_javadesktop.org>
Date: Wed, 30 Jul 2008 16:19:59 PDT

David,

Cascade flags are intended for the runtime behavior, not the database operations. The JPA provider expects to have the in-memory (cached) representation of the fetched entities to be in sync with the database view of the data.

HTH,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=290484