Hi,

Am a newbie to Java Persistence API. In our database, we have a one-to-many
relationship between 2 tables, say t1 & t2 i.e. one record of t1 can be
associated with multiple records in table t2. Is it possible to delete a row
in t2 without doing anything to the associated row in t1? Is this allowed in
JPA? I heard that an error saying "parent is null' is thrown in such a case?

Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to