-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: query is being generated but stays null
PostPosted: Mon Aug 23, 2010 10:23 am 
Newbie

Joined: Sun Aug 09, 2009 12:14 pm
Posts: 16
i have a manyToOne relationship, when i query the many side i can see that the SQL is being generated correctly but the data is not fully inserted into my collection, the data inside the tree is stays null.
will be glade for answers.
i use hibernate as my JPA implementation.


Top
 Profile  
 
 Post subject: Re: query is being generated but stays null
PostPosted: Mon Aug 23, 2010 11:37 am 
Beginner
Beginner

Joined: Fri Aug 24, 2007 9:47 am
Posts: 21
You need to flush after you your insert if you don't use some transactions

_________________
recherche-programmeur.fr


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.