[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-992) Use Spring configured EntityManagerFactory in spring example
youngm (JIRA)
jira-events at lists.jboss.org
Tue Mar 6 12:52:29 EST 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-992?page=comments#action_12355154 ]
youngm commented on JBSEAM-992:
-------------------------------
True it is not platform dependent. Bad point on my part. :)
I guess what my point is that most project who are using Spring + JPA currently are going to be using a Spring configured EntityManagerFactory with a spring configured DataSource and spring configured properties. I bet most of them are not going to know right off the bat that you can simply inject an entityManagerFactory into seam:managed-persistence-context using a simple expression that obtains an EntityManagerFactory instance from Spring.
I just think it would be valuable to show these developers in the example that it is very easy to use a spring configured EntityManagerFactory with their seam managed persistence context that is all.
If you don't think that would be a valuable change to the example then that's fine. It was just a minor thing.
> Use Spring configured EntityManagerFactory in spring example
> ------------------------------------------------------------
>
> Key: JBSEAM-992
> URL: http://jira.jboss.com/jira/browse/JBSEAM-992
> Project: JBoss Seam
> Issue Type: Feature Request
> Components: Spring
> Affects Versions: 1.2.0.GA
> Reporter: youngm
> Fix For: 1.2.1.GA
>
>
> Since most Spring project will be using a Spring configured EntityManagerFactory we should use one in the Spring example as well and inject this EntityManagerFactory into the Seam Managed PersistenceContext component with an expression.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list