BEA Systems, Inc.

weblogic.jdbc.rowset
Class NullUpdateException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.sql.SQLException
              extended by weblogic.jdbc.rowset.NullUpdateException
All Implemented Interfaces:
Serializable

public class NullUpdateException
extends SQLException

An exception is thrown when no update will be issued because of metadata settings. WLCachedRowSet.acceptChanges

After calling acceptChanges, WLRowSetMetaData will be checked to decide where to write back the changes. If writeTable was set and there is no column associated with it, then no changes will be written back to the data source and NullUpdateException will be thrown. In most cases, it is a real exception that is caused by the misconfiguration of WLRowSetMetaData. This exception helps applications detect their problems earlier. Applications can catch this exception and ignore it if they are aware of this situation.

See Also:
WLRowSetMetaData, Serialized Form

Method Summary
 
Methods inherited from class java.sql.SQLException
getErrorCode, getNextException, getSQLState, setNextException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs92
Copyright 2006 BEA Systems Inc.