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!