Hey, when I remove a design from a project, the relationship is deleted from
the database but not from the persistence context - it still appears as part
of the project unless I restart the server. What am I doing wrong?
project.getDesigns().remove(persistentDesign);
design.setProject(null);
project = getDao().update(project);
persistentDesignManager.updateDesign((PhotovoltaicGridTieSystemDesign)
design);
thx in advance.
--
View this message in context: http://www.nabble.com/removing-item-from-collection-tp20335689p20335689.html
Sent from the java.net - glassfish persistence mailing list archive at Nabble.com.