Hi,
Config : W11 Eclipse 2025-06 Jdk-17 Oracle 19.21
I use for the first time DbUnit with 2.7.3 and I change because the table employees in the schema DBUNIT but the ResultSet contains all tables in SYS, so table not found exception raised.
I use the obsolete databaseTester.setSchema("DBUNIT"); and change version Dbunit to 3.0.0 and the exception raised at Table 'EMPLOYEES' not found in tableMap ... see files.
Best Regards
Pascal
Sorry I miss the xml file
I missed to create the table :-( but I use databaseTester.setSchema("DBUNIT");
If the cause of the error is the table was did not exist, then dbUnit is behaving correctly and this is not a bug.
OK, it’s running. Indeed the Setter setSchema is obsolete, but allows reading only the tables of the "DBUNIT" schema. Otherwise, it reads certain XDB tables such as: XDB$ATTRIBUTE, XDB$IMPORT_NM_INFO.
Thanks for the update, sounds like correct behavior.
OK Thank you for your help.