org.dbunit.database
Class AmbiguousTableNameException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.dbunit.DatabaseUnitException
              extended byorg.dbunit.dataset.DataSetException
                  extended byorg.dbunit.database.AmbiguousTableNameException
All Implemented Interfaces:
java.io.Serializable

public class AmbiguousTableNameException
extends DataSetException

This exception is thrown by DatabaseDataSet when a multiple tables having the same name are accessible. This usually occurs when the database connection have access to multiple schemas containing identical table names.

Possible solutions: 1) Use a database connection credential that has access to only one database schema. 2) Specify a schema name to the DatabaseConnection or DatabaseDataSourceConnection constructor. 3) Enable the qualified table name support (see How-to documentation).

Since:
May 1, 2002
Version:
1.0
Author:
Manuel Laflamme
See Also:
Serialized Form

Constructor Summary
AmbiguousTableNameException()
           
AmbiguousTableNameException(java.lang.String msg)
           
AmbiguousTableNameException(java.lang.String msg, java.lang.Throwable e)
           
AmbiguousTableNameException(java.lang.Throwable e)
           
 
Methods inherited from class org.dbunit.DatabaseUnitException
getException, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmbiguousTableNameException

public AmbiguousTableNameException()

AmbiguousTableNameException

public AmbiguousTableNameException(java.lang.String msg)

AmbiguousTableNameException

public AmbiguousTableNameException(java.lang.String msg,
                                   java.lang.Throwable e)

AmbiguousTableNameException

public AmbiguousTableNameException(java.lang.Throwable e)


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.