Hi there,
i'm trying to get the above to run, cause the same thing is working with
MySQL (5.0) well...
The problem seemed to be that dbUnit is throwing an
AbiguousTableNameException which seemed to be a bug?(or not..)..
I have found information about using a schemata name in upper case
but this changed nothing....
Java 1.5
dbUnit 2.1
Hibernate 3.2 (with annotations).
Oracle Express Edition 10.2.0..
I appreciate any hint or question....
Thanks in advance.
Kind regards.
Karl Heinz Marbaise

Signature
SoftwareEntwicklung Beratung Schulung http://www.soebes.de
Dipl.Ing.(FH) Karl Heinz Marbaise email: info@soebes.de
Tel.: +49 (0) 241 / 16 91 210 ICQ#: 135949029
gnehzeix@googlemail.com - 04 Sep 2006 10:11 GMT
Hi Karl,
I had the same problem a little while ago. By using the
DatabaseConnection constructor with schema name parameter, I got rid of
this "AbiguousTableNameException".
My code looks like this:
@Override
protected IDatabaseConnection getConnection() throws Exception
{
...
...
IDatabaseConnection connection = new DatabaseConnection(conn,
"MY_SCHEMA");
return connection;
}
Hope this will help...
Ljay
=============================================================
> Hi there,
>
[quoted text clipped - 21 lines]
> Dipl.Ing.(FH) Karl Heinz Marbaise email: info@soebes.de
> Tel.: +49 (0) 241 / 16 91 210 ICQ#: 135949029