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 Syer
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 Hauge
Messages: 469
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 Hauge
Messages: 469
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:Automatic table generation
Next Topic:Automatic table generation
Goto Forum:
  


Current Time: Sun Oct 26 04:29:04 GMT 2014

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

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