Hi, you've reached the website of Mark Menard, Freemason, developer, businessman, photographer, motorcyclist and all around nice guy.
The main joy in my life is Sylva, my loving partner and friend. (You will see plenty of pictures of her. Also check out our site.) My professonal career is running a consulting firm concentrating on business automation and custom software. I enjoy software development, motorcycles, photography, dancing, freemasonry and travel.
Here you will find galleries of my latest photos, thoughts on software development, freemasonry, the occassional politics, and other things. Enjoy your time here.
Mark
An ongoing photographic study of Freemasonry.
To contact Mark send an email to mark@mjm.net. You will receive an auto response from my mail server to verify you're not a spammer.
© Mark Menard 2002-2007
LocalEntityManagerFactoryBean?
Hi Mark,
I'm confused about the fact that your using the LocalEntityManagerFactoryBean as your EMF implementation. According to the JavaDoc this means that you are not using the EMF provided by the Application server. Is this really what you want?
I tried to do exactly the same as you mentioned in your discussion with Colin (Spring EJB support forum). I want to use the JBoss EMF via a JNDI lookup and got the same problems (EntityManager is closed after every use of the JpaTemplate).
What happens when you mix your configuration with other DAO's that are implemented as SLSB's that use the container provided EMF? Does that mean that you got 2 persistence providers?
This is very confusing!
Bye
Martin Fischer