On Thu, Apr 4, 2013 at 7:36 AM, mauro2java2011 <[email protected]>wrote:

> I have also to declare always the resource for non jta datasource with jta
> false ?
> Whi into petsistece.xml ir is necessary to specify bot jta-datasource and
> nojtA-datasource?
>
>
>From what I understand, it is no longer necessary to set 'both' jta and
non-jta datasource in persistence.xml. no longer necessary = 1.5.2 or 1.6.0
snapshot. If you're using 1.5.1, then it 'may' be necessary, but I don't
know. I don't use the 'release', I use 'snapshot'...always (since
'snapshot' = 'latest version').



> What it is the difference from the datasource pooled getting from normal
> tomcat  ? I refer to datasource fir poolig connection thar into tomcat i
> declare into context.xml and i refer it into web.xml into reference ??
>
>
I will let Romain reply to this. I think tomee.xml is recommended, and in
my case, context.xml and web.xml is not necessary.

Reply via email to