Interesting and good to know. So, are you telling me that my
persistence.xml configuration is useless/invalid?

I seem to recall, when I first installed tomEE, deployed webapp, and first
tested on production server...that my config in persistence.xml was
wrong/incorrect, caused errors, changed it, and then it started working
without errors.

So, I need to add the following in tomee.xml resource?

jdbcInterceptors=StatementCache(max=128)



On Tue, Dec 11, 2012 at 7:08 AM, Romain Manni-Bucau
<rmannibu...@gmail.com>wrote:

> you know eclipselinks doesn't manage your datasource (since that's
> openejb/tomee which provides it) so all the connection config of
> eclipselinks is useless normally (difference between JSE and JavaEE)
>
> Romain Manni-Bucau
> Twitter: @rmannibucau
> Blog: http://rmannibucau.wordpress.com/
> LinkedIn: http://fr.linkedin.com/in/rmannibucau
> Github: https://github.com/rmannibucau
>
>
>
> 2012/12/11 Howard W. Smith, Jr. <smithh032...@gmail.com>:
> > Really????
> >
> > How did I miss that when I was reading and researching performance
> tuning?
> >   :)
> >
> > Hmmm, I think I already set a value related to statement cache i my
> > persistence.xml. Will confirm and add this as advised. thanks!
> >
> >
> >
> > the setting jdbcInterceptors is something important too:
> >>
> >> <Resource  ....>
> >>   ...
> >>   jdbcInterceptors=StatementCache(max=128)
> >>   ...
> >> </Resource>
> >>
> >>
> >>
>

Reply via email to