Exactly. duplicate this one with jtamanaged to true. Then just remove the
hibernate xml file as you don't need it for the moment. And give the same
datasource Id to both jta-datasource and non-jta-datasource
Le 28 sept. 2013 19:13, "emaborsa" <[email protected]> a écrit :

> sorry, i forgot the TomEE.xml:
>
> <tomee>
>      <Resource id="docTracingPU" type="DataSource">
>           JdbcDriver org.postgresql.Driver
>           JdbcUrl jdbc:postgresql://127.0.0.1:5433/doctracing
>           UserName emaborsa
>           Password eqb9cnu1
>           JtaManaged false
>     </Resource>
> </tomee>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/No-results-from-query-on-postgres-tp4665339p4665343.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Reply via email to