Skip to main content



      Home
Home » Eclipse Projects » Dali » How to use @PersistenceContext
How to use @PersistenceContext [message #434605] Wed, 17 October 2007 03:36 Go to next message
Eclipse UserFriend
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 17:00 Go to previous message
Eclipse UserFriend
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 17:00 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 10:36:59 EDT 2025

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

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

Back to the top