Class PrimaryKeyColumnNotAllowedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.datanucleus.exceptions.NucleusException
org.datanucleus.store.rdbms.exceptions.PrimaryKeyColumnNotAllowedException
All Implemented Interfaces:
Serializable

public class PrimaryKeyColumnNotAllowedException extends org.datanucleus.exceptions.NucleusException
A PrimaryKeyColumnNotAllowedException is thrown if an attempt is made to add a primary key column to a view.
See Also:
  • Field Details

  • Constructor Details

    • PrimaryKeyColumnNotAllowedException

      public PrimaryKeyColumnNotAllowedException(String viewName, String columnName)
      Constructs a primary key not allowed exception.
      Parameters:
      viewName - Name of the view being initialized.
      columnName - Name of the column having the duplicate name.