[hibernate-dev] hbm2doc with inner-classes

Max Rydahl Andersen max.andersen at jboss.com
Mon Oct 30 10:49:53 EST 2006


> Adding default_schema=PUBLIC fixes a few, and then using
> hibernate.connection.url=jdbc:hsqldb:. fixed some others.  The
> majority of the remaining tests fail with:
>
> Expected were higher, Last: {TABLE_SCHEM=PUBLIC, REMARKS=null,
> TABLE_CAT=null, TABLE_NAME=Group, TABLE_TYPE=TABLE} expected:<0> but
> was:<1>
> junit.framework.ComparisonFailure: Expected were higher, Last:
> {TABLE_SCHEM=PUBLIC, REMARKS=null, TABLE_CAT=null, TABLE_NAME=Group,
> TABLE_TYPE=TABLE} expected:<0> but was:<1>

These errors occur because the db still contains some tables which should  
not be the case.

This can be caused by interrupting the testsuite before it can clean up or  
a test that doesn't cleanup properly.

Workaround: delete the db (easy for hsqldb ;)


-- 
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
max at hibernate.org
http://hibernate.org

JBoss a division of Red Hat
max.andersen at jboss.com




More information about the hibernate-dev mailing list