-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Starting with Sun Appserver + Hibernate + SQL Server 2005
PostPosted: Tue Oct 17, 2006 10:22 am 
Newbie

Joined: Fri Jun 16, 2006 9:19 am
Posts: 7
Hibernate version:
Hibernate 3.2.0 CR5 / EntityManager 3.2.0 CR3 / Annotations 3.2.0 CR3
(will try 3.2.0 GA soon)

Hello all,

I've been experiencing some problems while trying to make Hibernate work in Sun Appserver 9 (as in Project Glassfish) + Hibernate + MS SQL Server 2005 (using JDBC driver version 1.1).

It seems to me I may have some problem with the JARs. I can connect to the database inside NetBeans, retrieve tables, create Entity beans from the database tables. The trouble is when I deploy the package (a simple webservice performing new Entity() + entityManager.persist()).

For starters, could someone shed a light on what are the jars that I should include in my libraries? I have incuded all JARs in hibernate/*.jar, hibernate/lib/*.jar, entitymanager/*.jar entitymanager/lib/*.jar. But it seems to me i'm not doing the right thing. (Also, i've included the jar from MS SQL Server 2005 and i'm having some trouble setting the connection properly... altough it does work inside NetBeans... but for now, knowing which JARs to import would help me a lot).

I thank you all in advance,

Carlos


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 6:43 pm 
Newbie

Joined: Tue Jul 04, 2006 3:42 am
Posts: 9
Hi,

I cannot totally remember which jars to include, but i had similar problems with jboss and WAS when including "all" jars. That introduced problems to me (probably jar version crash). However i think that in the hibernate documentation the required jars were clearly explained (i may be wrong though).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 17, 2006 11:10 pm 
Newbie

Joined: Fri Jun 16, 2006 9:19 am
Posts: 7
Ok everyone, never mind. I just found the README.txt files inside ./lib directories.

Moved on to solving SQL 2K5 connection problems...

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.