Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!

Nicolas Cova

Greenhorn
+ Follow
since Dec 08, 2010
Nicolas likes ...
Java Ubuntu Windows
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nicolas Cova

Thank you Jeanne. And how do I do that? I'm importing all of the right Hibernate libraries into my application client and when I try to deploy the client on Glassfish it throws a DeploymentException. Do I have to import the Hibernate libraries or do I have to use javax.persistence.* instead?
I have this exact problem and I can't seem to find any answers for it. Did you find a way to fix it???
Good afternoon everybody,

I'm in a bit of trouble here. I need to develop a Java EE 6 Enterprise Application consisting of only one Enterprise Application Client. My problem is that the Application Client needs Hibernate to have access to some information on a local database. I noticed that if I import the Hibernate libraries, the application client won't deploy on my application server (I'm using Glassfish V3, btw). But if I remove the Hibernate libraries (and comment the lines of code that try to access the database), my application deploys perfectly fine.

So my question is: can you use Hibernate with an Enterprise Application Cliente to access a database (as if it were a plain Java SE app)??? Or is the use of Hibernate limited only to Java EE Web Applications?

Thank you in advance.