|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
oracle.jbo.JboWarning
oracle.jbo.JboException
oracle.jbo.KeyNotFoundException
public class KeyNotFoundException
This exception is thrown while initializing the definition of an entity object to indicate that the entity object has no primary key attribute.
In BC4J, an entity object must have an attribute designated as a primary key attribute. If none is marked as such, this exception is thrown. Note that the primary key attributes of an entity object in BC4J do not have to be primary key columns in the database table.
However, the primary key attribute must be unique in that no two rows have the same primary key values in the table. Thus, it is highly advised that primary key attributes have either a uniqueness constraint or a unique index in the database table.
Field Summary |
---|
Fields inherited from class oracle.jbo.JboException |
---|
mHasPeerException |
Fields inherited from class oracle.jbo.JboWarning |
---|
HIDE_DETAIL_EXCEPTIONS_HINT, mHelper, SEVERITY_ERROR, SEVERITY_RAC_RECOVERABLE_ERROR, SEVERITY_RECOVERABLE_ERROR, SEVERITY_VETOABLE_WARNING, SEVERITY_WARNING |
Constructor Summary | |
---|---|
KeyNotFoundException(java.lang.String fullName)
Constructs a new instance. |
Method Summary |
---|
Methods inherited from class oracle.jbo.JboException |
---|
addToDetails, addToExceptions, containsException, doEntityToVOMapping, getExceptions, hasPeerExceptions, needsEntityToVOMapping, printStackTrace, printStackTrace, printStackTrace, setApplicationModule, setDetails, setExceptions, setNeedsEntityToVOMapping |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyNotFoundException(java.lang.String fullName)
fullName
- the full (package qualified) name of the entity
with no PK.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |