This content has been marked as final.
Show 5 replies
-
1. Re: How to create hibernate criteria
gavin.king Jun 26, 2007 8:21 PM (in response to knuwu)What version of JBoss is this? An old version I think.
-
2. Re: How to create hibernate criteria
knuwu Jun 27, 2007 2:42 AM (in response to knuwu)The JBoss Version is JBoss 4.0.5 GA.
-
3. Re: How to create hibernate criteria
fabricio.lemos Jun 27, 2007 9:10 AM (in response to knuwu)I had this problem too and I had to use:
((EntityManagerImpl) manager.getDelegate()).getSession()
But it was an ejb3 project, not a Seam one. Are you packaging jboss-ejb3-all.jar that comes with Seam in your application? -
4. Re: How to create hibernate criteria
knuwu Jun 28, 2007 3:04 AM (in response to knuwu)Thank you Fabricio
I will try your advice and let you know if it worked. Yes jboss-ejb3-all.jar is packaged. -
5. Re: How to create hibernate criteria
knuwu Jun 28, 2007 4:25 AM (in response to knuwu)Great Fabricio
It worked!