-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
I would like to use container managed JPA with ZK, including container managed transactions as well as EntityManager injections.
Is this possible at all, and if yes how? The tutorials I saw only wrote about JPAUtil and howto get an EntityManager by "hand".
Thank you in advance, Clemens
PS: I am using Scala to develop a ZK application. However the ZUL Editor always complains about "The type xxyyy is not visisble" is I use a custom class in ZUL. However in Scala classes are by default public, also the bytecode decompiled to java source shows "public class xxyyy".
So although everything works fine, the ZUL xml editor somehow thinks the classes generated by Scala are not visible.
Should I file a bug about this?
Just found out about org.zkoss.zkplus.hibernate.OpenSessionInViewListener and it does exactly what I was looking for.
Thanks, Clemens
Asked: 2010-09-27 06:13:10 +0800
Seen: 516 times
Last updated: Sep 27 '10