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

Reto Ferri (JIRA) noreply at atlassian.com
Wed Mar 7 15:02:31 EST 2007


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

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

As far as I know, garbage collector like removing is not supported by the specs. Therefore in a container - contained relationship I have to explicitly call em.remove(contained) besides the normal removing from both sides of a relationship. This could be nicely done with an injected em. 

> 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