seam « EntityManager « JPA Q&A





1. Help With TreeCache (Jboss Cache) configuration for 2 entity manager    stackoverflow.com

I'm in a big trouble at moment. I need to configure a cluster cache for my seam application, but i'm having problem beacuse i have 2 entity managers, one for oracle ...

2. Hibernate - Entity Manager Factory    stackoverflow.com

I have been recently running into an issue in which my web application will not start properly and the stack trace doesn't indicate exactly what happened. I have been able ...

3. In Seam what's the difference between injected EntityManager and getEntityManager from EntityHome    stackoverflow.com

I am testing a Seam application using the needle test API. In my code I am using the getEntityManager() method from EntityHome. When I run the unit tests against an in ...

4. Seam3/Weld - Could not find Entity Manager    stackoverflow.com

I have a project (EJB 3.0, packaged as EAR) with a view (JSF 2.0) and persistence (JPA 2.0, Hibernate) layer. To avoid the lazy initialization support and other issues I tried ...

5. EntityManager OR Hibernate Session    seamframework.org

6. Hibernate Session from entityManager.getDelegate()    seamframework.org

You are right about that being jboss only, I did not read the full post. The root cause of the class cast error is that seam is expecting to get a EntityManagerFactory from jndi but is instead getting a EntityManager, but I am not sure how the jndi bindings are set up on glassfish so I can't really tell you any ...

7. How to configure Two JPA entity managers for RESORUCE_LOCAL?    seamframework.org

java.lang.RuntimeException: error while reading /WEB-INF/components.xml at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:154) at org.jboss.seam.init.Initialization.create(Initialization.java:104) at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4350) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:829) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:718) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1147) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:578) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Caused ...

8. Non managed JPA EntityManager is broken.    seamframework.org

9. SEAM TestNG Integration Testing @In - entityManager    forum.hibernate.org

Hello, I have been working on an integration test using TestNG. I have read through sections and followed examples in books such as Beginning JBoss Seam and Seam 2.X Web Development. I have also done numerous searches across this and other forums. Despite my reading, I am unable to create an integration test that is able to persist and import @In ...