|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--oracle.jbo.JboException | +--oracle.jbo.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 |
Constructor Summary | |
KeyNotFoundException(java.lang.String fullName) Constructs a new instance. |
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.
|
Oracle9i Business Components for Java API Reference Oracle9i Jdeveloper (9.0.4) B10391-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2003, Oracle. All rights reserved.