Class NonRenderingWhereClauseException

All Implemented Interfaces:
Serializable

public class NonRenderingWhereClauseException extends DynamicSqlException
This exception is thrown when the where clause in a statement will not render. This can happen if all the optional conditions in a where clause fail to render - for example, if an "in" condition specifies an empty list.

By default, the framework will throw this exception if a where clause fails to render. A where clause that fails to render can be very dangerous in that it could cause all rows in a table to be affected by a statement - for example, all rows could be deleted.

If you intend to allow a where clause to not render, then configure the statement to allow it, or change the global configuration.

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

    • NonRenderingWhereClauseException

      public NonRenderingWhereClauseException()