Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » How to use @PersistenceContext
How to use @PersistenceContext [message #434605] Wed, 17 October 2007 07:36 Go to next message
Dave Syer is currently offline Dave SyerFriend
Messages: 95
Registered: July 2009
Member
Injection of the EntityManager with @PersistenceContext seems like a fairly
important thing to be able to do, but I couldn't see any reference to it in
the Dali User Guide. Is there a missing feature here, or is the
documentation just hard to find?
Re: How to use @PersistenceContext [message #434609 is a reply to message #434605] Thu, 18 October 2007 21:00 Go to previous message
Neil Hauge is currently offline Neil HaugeFriend
Messages: 475
Registered: July 2009
Senior Member
Dave,

This type of configuration isn't supported by the Dali project as it is
out of our JPA scope. We are focused on the configuration of a
persistence context using JPA, but not the usage of that persistence
context in a session bean for example. This type of configuration has
traditionally been handled by the JST project in WTP, although they do not
yet support the EJB 3.0 "EJB Core", which would cover what you are
describing.

Hopefully you can benefit from the mapping assistance that Dali does
provide.

Neil


Dave Syer wrote:

> Injection of the EntityManager with @PersistenceContext seems like a fairly
> important thing to be able to do, but I couldn't see any reference to it in
> the Dali User Guide. Is there a missing feature here, or is the
> documentation just hard to find?
Re: How to use @PersistenceContext [message #606128 is a reply to message #434605] Thu, 18 October 2007 21:00 Go to previous message
Neil Hauge is currently offline Neil HaugeFriend
Messages: 475
Registered: July 2009
Senior Member
Dave,

This type of configuration isn't supported by the Dali project as it is
out of our JPA scope. We are focused on the configuration of a
persistence context using JPA, but not the usage of that persistence
context in a session bean for example. This type of configuration has
traditionally been handled by the JST project in WTP, although they do not
yet support the EJB 3.0 "EJB Core", which would cover what you are
describing.

Hopefully you can benefit from the mapping assistance that Dali does
provide.

Neil


Dave Syer wrote:

> Injection of the EntityManager with @PersistenceContext seems like a fairly
> important thing to be able to do, but I couldn't see any reference to it in
> the Dali User Guide. Is there a missing feature here, or is the
> documentation just hard to find?
Previous Topic:Proper Dali use in EJB modules (client jars)
Next Topic:Automatic table generation
Goto Forum:
  


Current Time: Sat Apr 20 01:05:40 GMT 2024

Powered by FUDForum. Page generated in 0.04240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top