You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2011/03/24 18:15:05 UTC

[jira] [Commented] (CXF-3418) Transactional JAX-RS Service (Spring 3 + Hibernate 3)

    [ https://issues.apache.org/jira/browse/CXF-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010770#comment-13010770 ] 

Sergey Beryozkin commented on CXF-3418:
---------------------------------------

Hi Ivan

Can you please remove those attachments and just attach a WAR, with the source of your sample code ? The same way as you did it before. I'm not using NetBeans. Ideally it is either a Maven project or self-contained WAR with the source which we need to reproduce the issue quickly

thanks, Sergey


> Transactional JAX-RS Service (Spring 3 + Hibernate 3)
> -----------------------------------------------------
>
>                 Key: CXF-3418
>                 URL: https://issues.apache.org/jira/browse/CXF-3418
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.3.2
>            Reporter: Ivan Vitoria
>            Priority: Critical
>         Attachments: JaxrsTransactional v1.0.part1.rar, JaxrsTransactional v1.0.part2.rar
>
>
> Hello,
> I have some JAX-RS servers configured through Spring. Also, i'm using Hibernate DAOs and the OpenSessionInViewFilter of Spring-ORM. I have no problem when I add the @Transactional annotation to the DAO layer, but i would like to have the REST methods in the same transaction, so i've annoated the services. But I can't do it, neither annotating the interface nor the classes.  A ServiceConstructionException is throwed as soon as I add the @Transactional to the service...
> A sample NetBeans project is attached. 
> Thanks in advance
> Ivan

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira