Hibernate persist order

Posted by user213855 on Stack Overflow See other posts from Stack Overflow or by user213855
Published on 2010-03-18T10:16:40Z Indexed on 2010/03/18 10:21 UTC
Read the original article Hit count: 293

Filed under:
|

Hi there! I have a question about how Hibernate persists entity relations. Let's say I have an entity A that has a relation with entity B and another one with entity C. I create an A instance and populate it with new instances of B and C. When I persist A I need C to be persisted previous to B. Is there any way of doing this?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about jpa