-->
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.  [ 1 post ] 
Author Message
 Post subject: em.merge() does not save to database.
PostPosted: Wed Jun 13, 2012 2:37 pm 
Newbie

Joined: Wed Jun 13, 2012 2:22 pm
Posts: 1
Hello,
I am new to Springs-Hibernate. I am studying the Broadleaf code and trying to make a similar application.

But in my DAO class, the em.merge() statement does not save data into the database. It does not give any error, but does not save anything in the database.

When I debug the Broadleaf code I found out that control goes to transaction interceptor after going to the Service class.

I have tried a similar setting with AOP, but it did not help.

Could you please suggest me in what direction should I approach this problem?

I think there is something related to transaction that I am missing.

Thank you in advance for any advice.


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

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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.