[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-991) HIbernateConsoleRuntimeException: Problems while loading database driver class(com.microsoft.jdbc.sqlserver.SQLServerDriver

Sriram Srinivasan (JIRA) noreply at atlassian.com
Tue Oct 2 13:12:24 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28286 ] 

Sriram Srinivasan commented on HBX-991:
---------------------------------------

I think i found out the problem. When i create the hibernate configuration file where i specify the driver and the URL, that is where the problem is. When i select SQL Server as the database type. It lists the driver type as com.microsoft.jdbc.sqlserver.SQLServerDriver instead of com.microsoft.sqlserver.jdbc.SQLSErverDriver. Note the switch between the jdbc.sqlserver to sqlserver.jdbc. So I guess that is where the problem is with the tool. May be you need to fix it in the tool to have the correct package name for the driver. Once i update it to the correct path, then it works fine. 

> HIbernateConsoleRuntimeException: Problems while loading database driver class(com.microsoft.jdbc.sqlserver.SQLServerDriver
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBX-991
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-991
>             Project: Hibernate Tools
>          Issue Type: Bug
>          Components: eclipse
>    Affects Versions: 3.2beta10
>         Environment: Eclipse Europa IDE with WST and Hibernate 3.2 beta 10 plugin for eclipse using JBoss 4.2 server and SQL Server Driver.
>            Reporter: Sriram Srinivasan
>         Attachments: EclipseHibernateError.JPG
>
>
> I created a EJB project in eclipse. And then i tried to create a hibernate configuration file within the project. Then i tried to create a Hibernate Console Configuration using that configuration file. When i do that, i get the following exception.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list