-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: junit test: SQLLoaderTest FAILED
PostPosted: Thu Jan 08, 2004 6:30 pm 
Newbie

Joined: Thu Jan 08, 2004 6:20 pm
Posts: 2
Hi,

I just successfully installed hibernate and got the tests to run.
Almost all of them succeed, except for the last one.
It comes back with 5 errors in testFindBySQLStar, testFindBySQLProperties, testFindBySQLAssociatedObjects, testFindBySQLParameters and testFindBySQLDiscriminatedSameSession.

Looking at the error message I found that the problem is related to mis-spelled table names in the queries:
"Table 'hibernate.a' doesn't exist" and "Table 'hibernate.Category' doesn't exist". The table names in my database are A and category (upper/lowercase issue).

Is this intended or not? Do the tests really fail or is it a bug in the tests?

Also, do I have to pass all the tests or can I still use hibernate if some of the tests fail (maybe some tests are related to functionality that my DB system does not support?)?

I am running Mysql 3.23.58 and jsdk 1.4.1_02.
And finally: do I need JDK 1.4 or can I use 1.3.1 ?

Thanks,

MARK


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 08, 2004 7:14 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
This test runs fine on MySQL on windows currently. Perhaps it is broken on unix (MySQL is for some dumb reason case-sensitive on unix, IIRC).

You can use JDK1.3.1.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.