Re: PersistenceContext Available in Spring

2012-06-09 Thread Romain Manni-Bucau
Like it spring manages the em creation, just link it to the transaction manager of tomee with a lookup. I advice you to move the persistence.xml to avoid tomee to manage it. - Romain Le 9 juin 2012 22:03, "Bradley Rintoul" a écrit : > > > I think I'm having some trouble posting XML, so I'll jus

PersistenceContext Available in Spring

2012-06-09 Thread Bradley Rintoul
I think I'm having some trouble posting XML, so I'll just try to describe what I've got going on... It appears that TomEE is recognizing my PersistentUnit named "stuffDb". I can see a line which names it as such. Within a Spring configuration file, I am trying to set up a LocalContainerEnti