BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

Uses of Class
weblogic.db.jdbc.DataSetException

Packages that use DataSetException
weblogic.db.jdbc   
weblogic.db.jdbc.oracle   
weblogic.html   
 

Uses of DataSetException in weblogic.db.jdbc
 

Subclasses of DataSetException in weblogic.db.jdbc
 interface InvalidDateException
          An InvalidDateException is thrown when a date earlier than 1970 is encountered.
 

Methods in weblogic.db.jdbc that throw DataSetException
abstract  java.sql.ResultSet DataSet.resultSet()
          Returns the java.sql.ResultSet associated with a DataSet.
 Schema DataSet.schema()
          Returns the Schema object of a DataSet.
 DataSet DataSet.reset()
          Clears the current contents of a DataSet.
 DataSet DataSet.releaseRecords()
          Closes the DataSet and releases all Records from it but does not nullify them.
 Record DataSet.getRecord(int pos)
          Gets a Record at the specified 0-based index position in a DataSet.
 DataSet DataSet.fetchRecords()
          Fetches all records.
 DataSet DataSet.fetchRecords(int maxrecs)
          Fetches at most the specified number of records.
 DataSet DataSet.fetchRecords(int start, int maxrecs)
          Fetches at most the specified number of records starting at the specified record.
 void DataSet.close()
          Closes all the resources associated with a DataSet.
 Record DataSet.addRecord()
          Adds a new Record to a DataSet.
 Record DataSet.removeRecord(Record rec)
          Removes the specified Record object from a DataSet.
 int[] DataSet.maxColumnWidths(boolean with_heading)
          Calculates the maximum widths of the columns in a DataSet.
 java.sql.ResultSet QueryDataSet.resultSet()
          Returns the JDBC ResultSet associated with a QueryDataSet.
 boolean Value.asBoolean()
          Returns the boolean value of a Value object.
 byte Value.asByte()
          Returns the byte value of a Value object.
 short Value.asShort()
          Returns the short value of a Value object.
 int Value.asInt()
          Returns the integer value of a Value object.
 long Value.asLong()
          Returns the long value of a Value object.
 float Value.asFloat()
          Returns the float value of a Value object.
 double Value.asDouble()
          Returns the double value of a Value object.
 java.math.BigDecimal Value.asBigDecimal(int scale)
          Returns the BigDecimal value of a Value object.
 java.sql.Time Value.asTime()
          Returns the java.sql.Time value of a Value object.
 java.sql.Date Value.asDate()
          Returns the java.sql.Date value of a Value object.
 java.util.Date Value.asUtilDate()
          Returns the java.util.Date value of a Value object.
 java.sql.Timestamp Value.asTimestamp()
          Returns the java.sql.Timestamp value of a Value object.
 byte[] Value.asBytes()
          Returns the byte[] value of a Value object.
 KeyDef KeyDef.addAttrib(java.lang.String str)
          Adds attributes to an existing KeyDef object.
 DataSet TableDataSet.fetchRecords(int start, int maxrecs)
          Fetches at most the specified number of records starting at the specified record.
 void TableDataSet.updateStatus()
          Updates the save status of the rows in the TableDataSet.
 void TableDataSet.refresh(java.sql.Connection conn)
          Refreshes all of the records in the TableDataSet from the DBMS.
 int TableDataSet.save()
          Saves changes made in a TableDataSet to a database using the default Connection.
 int TableDataSet.save(boolean intransaction)
          Saves changes made in a TableDataSet to a database using the default Connection.
 int TableDataSet.save(java.sql.Connection conn, boolean intransaction)
          Saves changes made in a TableDataSet to a database using the specified Connection.
 int TableDataSet.saveWithoutStatusUpdate(java.sql.Connection conn)
           
 void TableDataSet.removeDeletedRecords()
          Removes deleted records from the TableDataSet.
 java.sql.ResultSet TableDataSet.resultSet()
          Returns the JDBC ResultSet associated with a TableDataSet.
 void TableDataSet.setOptimisticLockingColumn(java.lang.String colName)
          Identifies the table column used for optimistic locking.
 void Record.refresh(java.sql.Connection conn)
          Reloads the data for the row from the DBMS.
 java.lang.String Record.getRefreshQueryString()
           
 Record Record.markToBeDeleted()
          Marks a Record object for deletion.
 Schema Record.schema()
          Returns the Schema associated with a Record.
 java.lang.String Record.asFormattedString(java.lang.String valueseparator, int[] maxwidths)
          Returns the value of each column in a Record as a formatted String.
 Value Record.getValue(int pos)
          Returns the Value at the specified 1-based index position in a Record.
 Value Record.getValue(java.lang.String colname)
          Returns the Value for the specified column name in a Record.
 Record Record.setValue(int pos, Value val)
          Sets the Value at the specified index position to a Value.
 Record Record.setValue(java.lang.String colname, Value val)
          Sets the Value at the specified column name to a Value.
 Record Record.setValue(int pos, java.util.Date val)
          Sets the Value at the specified index position to a java.util.Date.
 Record Record.setValue(int pos, boolean val)
          Sets the Value at the specified index position to a boolean.
 Record Record.setValue(int pos, java.lang.String val)
          Sets the Value at the specified index position to a String.
 Record Record.setValue(int pos, int val)
          Sets the Value at the specified index position to a int.
 Record Record.setValue(int pos, long val)
          Sets the Value at the specified index position to a long.
 Record Record.setValue(int pos, float val)
          Sets the Value at the specified index position to a float.
 Record Record.setValue(int pos, double val)
          Sets the Value at the specified index position to a double.
 Record Record.setValue(int pos, java.sql.Time val)
          Sets the Value at the specified index position to java.sql.Time.
 Record Record.setValue(int pos, java.sql.Date val)
          Sets the Value at the specified index position to java.sql.Date.
 Record Record.setValue(int pos, java.sql.Timestamp val)
          Sets the Value at the specified index position to java.sql.Timestamp.
 Record Record.setValue(int pos, byte[] val)
          Sets the Value at the specified index position to a byte[].
 Record Record.setValue(int pos, java.math.BigDecimal val)
          Sets the Value at the specified index position to a java.math.BigDecimal.
 Record Record.setValueNull(int pos)
          Sets the Value at the specified index position to NULL.
 Record Record.setValueNull(java.lang.String colname)
          Sets the Value at the specified column name to NULL.
 Record Record.setValue(java.lang.String colname, boolean val)
          Sets the Value at the specified column name to a boolean.
 Record Record.setValue(java.lang.String colname, java.lang.String val)
          Sets the Value at the specified column name to a String.
 Record Record.setValue(java.lang.String colname, int val)
          Sets the Value at the specified column name to a int.
 Record Record.setValue(java.lang.String colname, long val)
          Sets the Value at the specified column name to a long.
 Record Record.setValue(java.lang.String colname, float val)
          Sets the Value at the specified column name to a float.
 Record Record.setValue(java.lang.String colname, double val)
          Sets the Value at the specified column name to a double.
 Record Record.setValue(java.lang.String colname, java.sql.Time val)
          Sets the Value at the specified column name to java.sql.Time.
 Record Record.setValue(java.lang.String colname, java.sql.Date val)
          Sets the Value at the specified column name to java.sql.Date.
 Record Record.setValue(java.lang.String colname, java.sql.Timestamp val)
          Sets the Value at the specified column name to java.sql.Timestamp.
 Record Record.setValue(java.lang.String colname, java.util.Date dateval)
          Sets the Value at the specified column name to java.util.Date.
 Record Record.setValue(java.lang.String colname, byte[] val)
          Sets the Value at the specified column name to a byte[].
 Record Record.setValue(java.lang.String colname, java.math.BigDecimal val)
          Sets the Value at the specified column name to a BigDecimal.
 void Record.markValueDirty(int pos)
           
 void Record.markValueDirty(java.lang.String colname)
           
 java.lang.String Record.getSaveString()
          Returns the SQL String used to save a Record to the database.
 int Record.save()
          Saves a Record to the database using the default Connection.
 int Record.save(java.sql.Connection conn)
          Saves a Record to the database using the specified Connection.
 int Record.saveWithoutStatusUpdate(java.sql.Connection conn)
          Saves a Record to the database using the specified Connection but without updating the status.
 void Record.markValueClean(java.lang.String colname)
           
 void Record.updateStatus()
          Updates the save status of the record after a saveWithoutStatusUpdate().
static Schema Schema.schema(java.sql.Connection conn, java.lang.String tablename)
          Returns the Schema for the specified database table.
static Schema Schema.schema(java.sql.Connection conn, java.lang.String tablename, java.lang.String attributes)
          Returns the Schema for the specified database table and fields.
 int Schema.index(java.lang.String colname)
          Returns the 1-based index position of the specified Column name in a Schema.
 Column Schema.column(java.lang.String pos)
          Returns the Column object of the specified name from a Schema.
 Column Schema.column(int pos)
          Returns the Column object at the specified index position in a Schema.
 java.lang.String EventfulRecord.uniqueKey(KeyDef keydef)
          Calculates the uniqueKey for the specified KeyDef.
protected  void EventfulRecord.changeStatus(java.sql.Connection conn)
           
protected  Record EventfulRecord.internal_fetch()
           
 Record EventfulTableDataSet.addRecord()
          Adds an EventfulRecord to an EventfulTableDataSet.
 

Constructors in weblogic.db.jdbc that throw DataSetException
QueryDataSet.QueryDataSet(java.sql.ResultSet results)
          QueryDataSet constructor.
QueryDataSet.QueryDataSet(java.sql.Connection conn, java.lang.String sqlstr)
          QueryDataSet constructor.
QueryDataSet.QueryDataSet(java.sql.Connection conn, SelectStmt stmt)
          QueryDataSet constructor.
Value.Value(java.sql.ResultSet rs, int colnum, int type)
           
TableDataSet.TableDataSet(java.sql.Connection conn, java.lang.String tablename)
          Constructs a TableDataSet from the specified table.
TableDataSet.TableDataSet(java.sql.Connection conn, java.lang.String tablename, java.lang.String attributes)
          Constructs a TableDataSet from the specified table, limited to the specified set of attributes (columns).
TableDataSet.TableDataSet(java.sql.Connection conn, java.lang.String tablename, KeyDef key)
          Constructs a TableDataSet from the specified table, and sets its KeyDef, which is used to specify a unique key for updates and deletes.
TableDataSet.TableDataSet(java.sql.Connection conn, java.lang.String tablename, java.lang.String attributes, KeyDef key)
          Constructs a TableDataSet from the specified table, limited to the specified set of attributes (columns).
TableDataSet.TableDataSet(java.sql.Connection conn, Schema schema, KeyDef key)
          Constructs a TableDataSet from the specified Schema and KeyDef.
Record.Record(DataSet ds)
          Record constructor used when adding records to an existing DataSet object.
EventfulRecord.EventfulRecord(T3Client t3, EventfulTableDataSet etds)
          Constructs an EventfulRecord.
EventfulTableDataSet.EventfulTableDataSet(T3Client t3, java.sql.Connection conn, java.lang.String tablename, KeyDef key)
          Constructs an EventfulTableDataSet.
EventfulTableDataSet.EventfulTableDataSet(T3Client t3, java.sql.Connection conn, java.lang.String tablename, java.lang.String attributes, KeyDef key)
          Constructs an EventfulTableDataSet.
 

Uses of DataSetException in weblogic.db.jdbc.oracle
 

Methods in weblogic.db.jdbc.oracle that throw DataSetException
 void Sequence.close()
          Closes a Sequence and frees its resources.
 int Sequence.currentValue()
          Returns the current value of a Sequence object.
 int Sequence.nextValue()
          Returns the next value of a Sequence.
static void Sequence.create(java.sql.Connection conn, java.lang.String seqname, int increment, int start)
          Creates a sequence of the specified name on an Oracle server with the specified start value and increment value.
 

Constructors in weblogic.db.jdbc.oracle that throw DataSetException
Sequence.Sequence(java.sql.Connection conn, java.lang.String seqname)
          Constructs a Sequence with the specified JDBC Connection.
 

Uses of DataSetException in weblogic.html
 

Constructors in weblogic.html that throw DataSetException
SelectElement.SelectElement(java.lang.String str, DataSet ds)
          Constructs a SelectElement by the specified name and populates it with data from a weblogic.db.jdbc.dbKona DataSet.
LiteralElement.LiteralElement(DataSet ds)
          Constructs a LiteralElement with the specified DataSet.
LiteralElement.LiteralElement(DataSet ds, boolean with_heading)
          Constructs a LiteralElement with the specified DataSet and uses column headings to set widths and specify headings.
TableRowElement.TableRowElement(Schema sch)
          Constructs a TableRowElement based on the specified Schema.
TableRowElement.TableRowElement(Record rec)
          Constructs a TableRowElement with the specified dbKona Record.
StringElement.StringElement(Record rec, int[] maxwidths)
          Constructs a StringElement with the specified Record from a DataSet.
StringElement.StringElement(Record rec)
          Constructs a StringElement with the specified Record from a DataSet.
TableElement.TableElement(DataSet ds)
          Constructs a TableElement object with a dbKona DataSet as its contents.
TableElement.TableElement(DataSet ds, boolean withHeading)
          Constructs a TableElement object with a dbKona DataSet as its contents.
 


Documentation is available at
http://www.weblogic.com/docs51