Message:
The following issue has been closed.
Resolver: Gavin King
Date: Sun, 8 Jun 2003 6:24 AM
I fixed the problem with the doco.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-104
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-104
Summary: Unable to locate dialect when only specified in properties file
Type: Bug
Status: Closed
Priority: Major
Resolution: FIXED
Project: Hibernate2
Fix Fors:
2.0 final
Versions:
2.0rc2
Assignee: Gavin King
Reporter: Axel Fontaine
Created: Sun, 25 May 2003 4:34 PM
Updated: Sun, 8 Jun 2003 6:24 AM
Environment: WinXP SP1, Eclipse 2.1, Hibernate 2.0 beta 6, McKoi 1.0.1
Description:
When using the following property file:
hibernate.dialect = net.sf.hibernate.dialect.McKoiDialect
hibernate.connection.driver_class = com.mckoi.JDBCDriver
hibernate.connection.url = jdbc:mckoi://localhost/
hibernate.connection.username = dbadmin
hibernate.connection.password = dbpass
hibernate complains that it can't find the dialect net.sf.hibernate.dialect.McKoiDialect
Adding this to the code makes it work:
Configuration config = new Configuration();
config.setProperty("hibernate.dialect", MckoiDialect.class.getName());
---------------------------------------------------------------------
JIRA INFORMATION:
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/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|