[hibernate-issues] [Hibernate-JIRA] Commented: (EJB-274) EntityManager injection

Reto Ferri (JIRA) noreply at atlassian.com
Wed Mar 7 12:43:34 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/EJB-274?page=comments#action_26392 ] 

Reto Ferri commented on EJB-274:
--------------------------------

All objects loaded throught the entity manager are not the problem, because then the em is resposible for loading and creating the new object and can inject itself easily. All newly created and persisted objects have to be added to the entity manager through the call of persist (as far as I have understood the specs), or at least a developer of a bean library could code it that way to achieve more flexibility.





> EntityManager injection
> -----------------------
>
>          Key: EJB-274
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/EJB-274
>      Project: Hibernate Entity Manager
>         Type: New Feature

>   Components: EntityManager
>     Reporter: Reto Ferri

>
>
> Are there any plans to implement EntityManager incjection based on the @PersistenceContext attribute?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list