Class ThrowingDuplicateColumnHandler

java.lang.Object
org.seasar.doma.jdbc.ThrowingDuplicateColumnHandler
All Implemented Interfaces:
DuplicateColumnHandler

public class ThrowingDuplicateColumnHandler extends Object implements DuplicateColumnHandler
A handler for the column that is duplicated in a result set.
  • Constructor Details

    • ThrowingDuplicateColumnHandler

      public ThrowingDuplicateColumnHandler()
  • Method Details

    • handle

      public void handle(Query query, String duplicateColumnName)
      Handles the duplicate column.
      Specified by:
      handle in interface DuplicateColumnHandler
      Parameters:
      query - the query
      duplicateColumnName - the name of the duplicate column
      Throws:
      DuplicateColumnException - if this handler does not allow the duplicate column