The following comment has been added to this issue:
Author: Axel Fontaine
Created: Sat, 31 May 2003 1:31 AM
Body:
Ok, thank you !
But just to let you know: I copy-pasted this out of the Hibernate2 documentation, so maybe it should be updated.
Thx,
Axel
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Project: Hibernate2
Versions:
2.0rc2
Assignee:
Reporter: Axel Fontaine
Created: Sun, 25 May 2003 4:34 PM
Updated: Sun, 25 May 2003 4:34 PM
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
|