Patrik,

Actually I wasnt getting any error and so I thought it could be some
flushing issue.
I read on a forum that data gets saved if inside a transaction.I put the
transactional attribute on the service class and the data got saved in DB.

Thanks,
DS


Patrik Nordwall wrote:
> 
> The transaction boundary is at the service layer. Flush is normally done
> when there, so if you are debugging in repository or data access it is not
> flushed until returning from the service. What do you mean? Isn't it
> stored at all? Any exceptions?
> 
> /Patrik
> 
> 
> 
> deepshar027 wrote:
>> 
>> Guys,
>> 
>> I am trying to save an entity using JPA/hibernate.I see the correct data
>> in session but the save() is not saving the data in the Oracle DB.
>> 
>> I think there is some issue with the data not getting flushed to DB.
>> 
>> Please help!
>> 
>> DS
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Saving-data-to-oracle-DB-issue-using-JPA.-tp25739491s17564p25741372.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to