Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2006

Tip: Looking for answers? Try searching our database.

Hibernate + dbUnit + Oracle Express Edition

Thread view: 
Karl Heinz Marbaise - 01 Sep 2006 13:04 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.