-->
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.  [ 1 post ] 
Author Message
 Post subject: errors reported from running "ant junitreport"
PostPosted: Mon Jun 13, 2005 10:15 pm 
Newbie

Joined: Thu Jun 09, 2005 9:17 pm
Posts: 2
Location: Wellington, New Zealand
I would appreciate it if anyone can help me understand the significance of the 7 Errors reported by running the "ant junitreport" - as documented in the hibernate-3.0.5/readme.txt.

[N.B. I submitted a prior post on this, but had provided results that were not so well summarised, and a bit garbled - hopefully this attempt will be more successful!]

I am quite happy to provide more details, if this would help clarify any of the issues.

Essentially, are these Errors anything I need to worry about, for "simple uses", or are there things I need to avoid, or to do in specific ways?

Also, should I be raising any of the errors as formal bug reports?

Searching Google and the Hibernate Forums have not helped. However, I am quite willing to RTFM, if someone can point in the right direction. I do have documentation on how to use Hibernate, it is just the Errors that concern me in this post.

I am running:
    J2SE1.5.0_03
    hibernate 3.0.5
    postgreSQL 8.0.3
    postgresql-8.0-311.jdbc3.jar.
    Fedora Core 2 Linux
    Apache Ant version 1.6.5
    junit-3.8.1


I have executed the demo ("ant eg") successfully!

The following is a summary of the hibernate-3.0.5/testout/index.html:

======================================================
"ant junitreport" ran mostly (94.55%) successfully!
(7 errors)

org.hibernate.test.bidi
AuctionTest: (1 Error)
testLazy: Could not execute JDBC batch update

org.hibernate.test.legacy
CustomSQLTest: (3 Errors)
testInsert: Could not execute JDBC batch update
testCollectionCUD: Could not execute JDBC batch update
testCRUD: could not insert: [org.hibernate.test.legacy.Person]

FooBarTest: (1 Error)
testQuery
testCollectionsInSelect: bar.component.glarch.proxyArray is not mapped.

org.hibernate.test.naturalid
NaturalIdTest: (1 Error)
testNaturalIdCache: could not fetch initial value

org.hibernate.test.subselect
SubselectTest: (1 Error)
testEntitySubselect: Could not execute JDBC batch update

======================================================
Based on reading one of the forum posts, I uncommented
hibernate.jdbc.batch_size 0
and set
hibernate.jdbc.use_scrollable_resultsets false
in
/usr/java/hibernate-3.0.5/etc/hibernate.properties
and re-ran tests, getting the same errors!


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

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.