Feature Requests item #666485, was opened at 2003-01-12 14:49
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428711&aid=666485&group_id=40712
Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Viktor Szathmary (phraktle)
Assigned to: Nobody/Anonymous (nobody)
Summary: SchemaUpdater with custom Properties
Initial Comment:
SchemaUpdater doesn't seem to use the supplied
java.util.Properties properly, as it tries to get the
Dialect from hibernate.properties in the classpath.
cirrus.hibernate.HibernateException: The dialect was
not set. Set the property hibernate.dialect.
at
cirrus.hibernate.sql.Dialect.getDialect(Dialect.java:269)
at
cirrus.hibernate.tools.SchemaUpdater.execute(SchemaUpdater.java:81)
at
net.sf.flock.hibernate.HibernateSubscriptionManager.<init>(HibernateSubscriptionManager.java:39)
at
net.sf.flock.hibernate.HibernateSubscriptionManagerTest.testStoreFeed(HibernateSubscriptionManagerTest.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at
junit.framework.TestResult$1.protect(TestResult.java:106)
at
junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:360)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:246)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:146)
rethrown as net.sf.flock.FlockResourceException: The
dialect was not set. Set the property hibernate.dialect.
at
net.sf.flock.hibernate.HibernateSubscriptionManager.<init>(HibernateSubscriptionManager.java:45)
at
net.sf.flock.hibernate.HibernateSubscriptionManagerTest.testStoreFeed(HibernateSubscriptionManagerTest.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at
junit.framework.TestResult$1.protect(TestResult.java:106)
at
junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:360)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:246)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:146)
Caused by: cirrus.hibernate.HibernateException: The
dialect was not set. Set the property hibernate.dialect.
at
cirrus.hibernate.sql.Dialect.getDialect(Dialect.java:269)
at
cirrus.hibernate.tools.SchemaUpdater.execute(SchemaUpdater.java:81)
at
net.sf.flock.hibernate.HibernateSubscriptionManager.<init>(HibernateSubscriptionManager.java:39)
... 16 more
----------------------------------------------------------------------
>Comment By: Gavin King (oneovthafew)
Date: 2003-01-28 18:25
Message:
Logged In: YES
user_id=384580
This was fixed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428711&aid=666485&group_id=40712
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel