Class DuplicateTableAliasException

All Implemented Interfaces:
Serializable

public class DuplicateTableAliasException extends DynamicSqlException
This exception is thrown when a query is built that attempts to specify more than one alias for the same instance of an SqlTable object. That error that would produce a select statement that doesn't work.

This error usually occurs when building a self-join query. The workaround is to create a second instance of the SqlTable object to use in the self-join.

Since:
1.3.1
Author:
Jeff Butler
See Also:
  • Constructor Details

    • DuplicateTableAliasException

      public DuplicateTableAliasException(SqlTable table, String newAlias, String existingAlias)