Store full contents of this DBSubset at base table
This method takes all the dat contained in memory for this DBSubsets and stores it at the database. For each row, if it does not exist then it is inserted, if it exists then it is updated.
@param oConn JDBC Database Connection
@param oDBPersistSubclass DBPersist subclass for rows. DBSubset will call theproper DBPersist.store() derived method for each row, executing specific code for the subclass such as automatic GUID at modification date generation.
@param bStopOnError true if process should stop if any SQLException isthrown, false if process must continue upon an SQLException and leave return addional information throught SQLException[] array.
@return An array with a SQLException object per stored row, if no SQLExceptionwas trown for a row then the entry at the array for that row is null.
eof() property is set to true if all rows were inserted successfully, and, thus, all entries of the returned SQLException array are null; if any row failed to be inserted or updated then eof() is set to false
@throws SQLException Only if bStopOnError is true
@trhows ArrayIndexOutOfBoundsException If a table column is not found by its name
@throws IllegalAccessException
@throws InstantiationException
|
|
|
|