From: <leg...@at...> - 2003-05-25 21:35:03
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- 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 |