On 29 Aug (19:42), Prasad Iyer wrote:

> First of all I really sorry to ask this question on developer list, but can't help 
> it.

Why? You don't have a web browser?

> I got this parent child relationship between two tables.
> And I want to perform a insert on both the tables in a transaction.
> So if the child transaction fails the parent Transaction should rollback.
> 
> Even if somebody points me out in a right direction, it would help me a lot.

There is a thing we call "Transactions" for exactly this purpose. Please
read the documentation. 

-- 
Christian Bauer
[EMAIL PROTECTED]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to