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

Reto Ferri (JIRA) noreply at atlassian.com
Thu Mar 8 10:50:32 EST 2007


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

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

Well, Im am writing complex OO applications for 20 years and I am using Hibernate for 1 year, and thank you for your kind advise :)

There are certainly occasions where cascading cannot or should not be used. Even in your own book you'r mentioning that cascading not always is the best way. But obiously there are other ways of doing it which are not covered in your book. 

Your right, I read the specs again and they don't require to inject em into entity beans. 

To sum this discussion up :
- no plans to implement em injection
- the idea itself is considered senseless

One final question : Do you want me to publish my code changes here?

> 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