users@glassfish.java.net

Re: implementation of composition delete

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 25 Sep 2008 09:44:46 -0700

glassfish_at_javadesktop.org wrote:
> Hi
> If you create a composission between to enity beans (CMP version 2) and say that there is a cascade delete between the entities ie order - orderline if you remove the order the orderline's are delete but how is this done by the appserver ?
>
> Finding each orderline entity and than a remove ?

Yes.

-marina

> A delete "outside" the appserver ?
>
> This has great impact on performance so it would be good to know.
>
> TIA
> Jan
> [Message sent by forum member 'pliktverket' (pliktverket)]
>
> http://forums.java.net/jive/thread.jspa?messageID=301589
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>