Subject | Problem with metadata in dbunit |
---|---|
Author | Juan Pedro López |
Post date | 2008-09-03T11:55:25Z |
Hello,
I guess there is something wrong with database metadata handling with
jaybird versions from 2.1.3 to 2.1.6.
Running some dbunit 1.5.6 tests, the method
IDataSet.databaseDataSet.getTable("TABLE_NAME")
is executed.
The problem appears when database has two tables with the following name
pattern:
TABLE_NAME
TABLE_NAME_DETAIL
First table name is a second table name preffix.
It seems when getTable("TABLE_NAME") is executed, TABLE_NAME_DETAIL
metadata is mixed somehow and an exception is thrown.
I have tested it in FB 2.0.3 and FB 2.1.1 with the same results.
Thank you very much,
Juan Pedro López
I guess there is something wrong with database metadata handling with
jaybird versions from 2.1.3 to 2.1.6.
Running some dbunit 1.5.6 tests, the method
IDataSet.databaseDataSet.getTable("TABLE_NAME")
is executed.
The problem appears when database has two tables with the following name
pattern:
TABLE_NAME
TABLE_NAME_DETAIL
First table name is a second table name preffix.
It seems when getTable("TABLE_NAME") is executed, TABLE_NAME_DETAIL
metadata is mixed somehow and an exception is thrown.
I have tested it in FB 2.0.3 and FB 2.1.1 with the same results.
Thank you very much,
Juan Pedro López