[hibernate-dev] hbm2doc with inner-classes

Mark Hobson markhobson at gmail.com
Mon Oct 30 10:47:58 EST 2006


On 30/10/06, Max Rydahl Andersen <max.andersen at jboss.com> wrote:
> ..and you have the default_schema set to PUBLIC ?
>
> This error should only occur if the database somehow is returning the same
> table name twice (e.g. reverse engineering multiple schemas)

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>

Mark



More information about the hibernate-dev mailing list