Double check please if Interceptor.xml is included in your spring
configuration. It should be displayed in log shortly after application
start. If it is shown but transactions doesn't work, please send your
Interceptor.xml.

Pavel


On Sun, Oct 4, 2009 at 9:26 PM, deepshar027 <deepshar...@gmail.com> wrote:
>
> Well , I think in that sense its a bug.I think there can be a configurable
> parameter if we want to support transactions and then sculptor should add
> that on the service methods.
> I am using spring-jpa (No EJB's)
>
>
>
> Patrik Nordwall wrote:
>>
>> Hmm, but do you think this is a bug in sculptor? You should not have to
>> add transactional attribute, that should be handled by generated
>> code/configuration by sculptor.
>> What target configuration are you using? ejb+spring?
>>
>> /Patrik
>>
>>
>> deepshar027 wrote:
>>>
>>> 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.-tp25739491s17564p25741860.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>

------------------------------------------------------------------------------

_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to