client « Jar « JPA Q&A





1. Hibernate jars in client tier    forum.hibernate.org

I have come across an issue where I am finding myself the need to include hibernate jars (specifically hibernate2.jar and odmg.jar) in the client tier jars. The reason is this. Since I have a rather complex object hierarchy in my J2EE environment, I am using my business classes themselves as the ones that are mapped for Hibernate to persist. And they ...

2. What jars do I need to distribute to my WebStart Clients?    forum.hibernate.org

Hibernate version: 2.1.6 I am running a Hibernate query on my server, and returning the results to a Java WebStart-ed client (i.e. in another VM). I have mapped a set in a parent-child manner, with lazy=false. I get the exception below. Is there a way to only use JDK collections in returned results, or do I have to distribute hibernate2.jar? Does ...

3. hibernate3.jar in client-side classpath?    forum.hibernate.org

public Collection getAllUsers() throws BusinessException { Collection users = null; try { init(); session.connect(); users = userDAO.findAll(); ...

4. jars needed on client side using detached objects?    forum.hibernate.org

Hi, I'm using Hibernate 3.0.5 and I've searched the FAQs and the forum but didn't find an answer to a quite simple question. So I give you now the chance to earn some credits for this forum :-) Here's the question: I'm detaching objects in my application server and pass the detached object graph to my web server. The Web Application ...

5. Hibernate Client Jar    forum.hibernate.org

Hi All, Quick suggestion, I just noticed that the JBoss 4.0.4 release comes with a hibernate-client.jar (I do not think that it was the case before, eg 4.0.3RCx). Would it be possible to ship this client jar with Hibernate itself? It would be useful for whoever needs to receive objects that contain persistent collections over RMI. Thanks! Benoit As an ...

6. Classpath trouble with jbossall-client-x.y.z.jar    forum.hibernate.org

Hi there, I'm running Hibern8 3 inside a web application deployed on a Tomcat 6. Running the module outside the webapp is cool, but when inside there seems to be contention with the JBoss client jar (jbossall-client-4.2.2.GA.jar) which sits in the WEB-INF/lib directory. The following stacktrace is dumped: java.lang.NoSuchMethodError: org.hibernate.cfg.ExtendedMappings.getReflectionManager()Lorg/hibernate/reflection/ReflectionManager; at org.hibernate.search.event.FullTextIndexEventListener.initialize(FullTextIndexEventListener.java:82) at org.hibernate.event.EventListeners.initializeListeners(EventListeners.java:356) at org.hibernate.cfg.Configuration.getInitializedEventListeners(Configuration.java:1304) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294) at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915) at ...