On Wed, Oct 14, 2009 at 11:12 PM, Srinivasan Krishnamoorthy < [email protected]> wrote:
> > Hi Daryl, > Thanks for the immediate response.. I have one question.. > If I use database cascade to do this, will it throw the cache out > of sync, If I had cached students? I was thinking how will JPA > know that these students are now deleted. > That's an excellent question. I'm not using the L2 cache. I don't think using only a DB cascade is the right way to go - just an alternative to the others. Why not add the relation to College? -- Daryl Stultz _____________________________________ 6 Degrees Software and Consulting, Inc. http://www.6degrees.com mailto:[email protected]
