[TEXO] Use of EntityManager with DOA in a java container [message #1696838] |
Thu, 28 May 2015 18:27  |
Eclipse User |
|
|
|
Hi,
I consider to use Texo generated DOA classes in a java container.
In the current code, I use the @PersistenceContext annotation to inject an EntityManager per session . How can I arrange that the Doa gets the EntityManager?
I've looked at the DOA page of the Texo wiki. Is there an example I can look at?
Thanks,
Cur
|
|
|
Re: [TEXO] Use of EntityManager with DOA in a java container [message #1696870 is a reply to message #1696838] |
Fri, 29 May 2015 03:43  |
Eclipse User |
|
|
|
Hi Cur,
I guess the EntityManagerProvider class is the one to look at:
https://wiki.eclipse.org/Texo/EntityManagerHandling#The_EntityManagerProvider
gr. Martin
On 29-05-15 00:27, Mr Cur wrote:
> Hi,
>
> I consider to use Texo generated DOA classes in a java container.
> In the current code, I use the @PersistenceContext annotation to inject an EntityManager per session . How can I arrange
> that the Doa gets the EntityManager?
> I've looked at the DOA page of the Texo wiki. Is there an example I can look at?
>
> Thanks,
>
> Cur
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
|
|
|
Powered by
FUDForum. Page generated in 0.03497 seconds