persistence@glassfish.java.net

Hi All

From: Adam Bien <abien_at_adam-bien.com>
Date: Sun, 20 Jan 2008 19:01:04 +0100

Hi All,

In my current project we run to a strange problem:
https://glassfish.dev.java.net/issues/show_bug.cgi?id=4019.

Brief description: When I add an entity (Slave) to a persistent Master
and then remove the Master with EntityManager::remove the Master becomes
detached, but the Slave not.
It seems like the cascading mechanism doesn't work correctly in this case.

This causes Exceptions afterwards,

regards,

adam

-- 
 Consultant, Author, Java Champion
 
 Homepage: www.adam-bien.com
 Weblog: blog.adam-bien.com
 eMail:  abien_at_adam-bien.com
 Mobile: 0049(0)170 280 3144
 Books: Enterprise Architekturen (ISBN: 393504299X),
        Java EE 5 Architekturen  (ISBN: 3939084247),
        J2EE Patterns, J2EE Hotspots, Enterprise Frameworks and Struts