facebook

[Closed] MS SQLServer database connection error

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243997 Reply

    Hy there,
    I’m testing Hibernate 3.0 using MyEclipse and MS SQLServer 2000 and got the following problem : when trying to connect to my SQLServer database from MyEclipse Database Explorer I encouter a “null” error and got no idea of where it come from !
    I’ve successfully installed the MS SQLServer JDBC driver in MyEclipse preferences. I’ve configured the database that way :
    – “URL: jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=testEclipseHibernate”
    – “User name: Administrateur”
    – “Password: my_pass”

    I’m working with Eclipse 3.1.1, using MyEclipse 4.0.3, Hibernate plug-in 3.1.0 beta 3 and MS SQLServer 2000 SP4.

    Hope anyone will be able to help, thanks by advance.

    #244015

    Riyad Kalla
    Member

    Olivier,
    Under the driver settings and the “Driver Libraries” tab, do you have your JARs correctly listed? Are you using the Microsoft Driver or the jTDS driver? I would highly suggest the jTDS driver: http://jtds.sourceforge.net/

    #244037

    Thanks rkalla, after reading your response I checked if all the JARs files from MS SQLServer 2000 driver pack where selected in MyEclipse drivers settings and realised I just had omitted one of the three existing ! 😳
    It’s working perfectly right now 😀

    Thanks again, greetings

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] MS SQLServer database connection error

You must be logged in to post in the forum log in