[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2118) hibernate cant find dialect class and drivers cause of blanks in hibernate.property file

Diego Plentz (JIRA) noreply at atlassian.com
Tue Apr 22 01:19:33 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Plentz resolved HHH-2118.
-------------------------------

      Assignee: Diego Plentz
    Resolution: Rejected

Just looked at /etc/hibernate.properties in trunk and no blank found.

## Ingres

## older versions (before Ingress 2006)

#hibernate.dialect org.hibernate.dialect.IngresDialect
#hibernate.connection.driver_class ca.edbc.jdbc.EdbcDriver
#hibernate.connection.url jdbc:edbc://localhost:II7/database
#hibernate.connection.username user
#hibernate.connection.password password

## Ingres 2006 or later

#hibernate.dialect org.hibernate.dialect.IngresDialect
#hibernate.connection.driver_class com.ingres.jdbc.IngresDriver
#hibernate.connection.url jdbc:ingres://localhost:II7/database;CURSOR=READONLY;auto=multi
#hibernate.connection.username user
#hibernate.connection.password password

> hibernate cant find dialect class and drivers cause of  blanks in hibernate.property file
> -----------------------------------------------------------------------------------------
>
>                 Key: HHH-2118
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2118
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: build, core
>    Affects Versions: 3.2.0.cr4
>         Environment: Red Hat Enterprise Linux 4
> Windows XP SP2
> Ingres2006
>            Reporter: Daniel Lärm
>            Assignee: Diego Plentz
>   Original Estimate: 5 minutes
>  Remaining Estimate: 5 minutes
>
> The ingres section in the hibernate.property file consists of 4 lines, where at the end of each line is an blank, that is not neccesary and causes errors when building hibernate and running the certification tests.
> The first line generates an error, that he cant find the ingres dialect class, the second, that he cant find the jdbc driver and so on.
> After removing these blanks, there are none of these errors and it is working fine.
> In the svn trunk of hibernate 3 there are also blanks there.
> Perhaps these problems are also with other database sections in the property file, but i didnt check them.
> Daniel

-- 
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