72 * <li>data - This describes the original data (the state of data since the
73 * last population
74 * or last synchronization of the {@code WebRowSet} object) and the current
75 * data. By keeping track of the delta between the original data and the current data,
76 * a {@code WebRowSet} maintains the ability to synchronize changes
77 * in its data back to the originating data source.
78 * </li>
79 * </ul>
80 *
81 * <h2>2.0 WebRowSet States</h2>
82 * The following sections demonstrates how a {@code WebRowSet} implementation
83 * should use the XML Schema to describe update, insert, and delete operations
84 * and to describe the state of a {@code WebRowSet} object in XML.
85 *
86 * <h2>2.1 State 1 - Outputting a {@code WebRowSet} Object to XML</h2>
87 * In this example, a {@code WebRowSet} object is created and populated with a simple 2 column,
88 * 5 row table from a data source. Having the 5 rows in a {@code WebRowSet} object
89 * makes it possible to describe them in XML. The
90 * metadata describing the various standard JavaBeans properties as defined
91 * in the RowSet interface plus the standard properties defined in
92 * the {@code CachedRowSet}™ interface
93 * provide key details that describe WebRowSet
94 * properties. Outputting the WebRowSet object to XML using the standard
95 * {@code writeXml} methods describes the internal properties as follows:
96 * <PRE>
97 * {@code
98 * <properties>
99 * <command>select co1, col2 from test_table</command>
100 * <concurrency>1</concurrency>
101 * <datasource/>
102 * <escape-processing>true</escape-processing>
103 * <fetch-direction>0</fetch-direction>
104 * <fetch-size>0</fetch-size>
105 * <isolation-level>1</isolation-level>
106 * <key-columns/>
107 * <map/>
108 * <max-field-size>0</max-field-size>
109 * <max-rows>0</max-rows>
110 * <query-timeout>0</query-timeout>
111 * <read-only>false</read-only>
112 * <rowset-type>TRANSACTION_READ_UNCOMMITTED</rowset-type>
|
72 * <li>data - This describes the original data (the state of data since the
73 * last population
74 * or last synchronization of the {@code WebRowSet} object) and the current
75 * data. By keeping track of the delta between the original data and the current data,
76 * a {@code WebRowSet} maintains the ability to synchronize changes
77 * in its data back to the originating data source.
78 * </li>
79 * </ul>
80 *
81 * <h2>2.0 WebRowSet States</h2>
82 * The following sections demonstrates how a {@code WebRowSet} implementation
83 * should use the XML Schema to describe update, insert, and delete operations
84 * and to describe the state of a {@code WebRowSet} object in XML.
85 *
86 * <h2>2.1 State 1 - Outputting a {@code WebRowSet} Object to XML</h2>
87 * In this example, a {@code WebRowSet} object is created and populated with a simple 2 column,
88 * 5 row table from a data source. Having the 5 rows in a {@code WebRowSet} object
89 * makes it possible to describe them in XML. The
90 * metadata describing the various standard JavaBeans properties as defined
91 * in the RowSet interface plus the standard properties defined in
92 * the {@code CachedRowSet} interface
93 * provide key details that describe WebRowSet
94 * properties. Outputting the WebRowSet object to XML using the standard
95 * {@code writeXml} methods describes the internal properties as follows:
96 * <PRE>
97 * {@code
98 * <properties>
99 * <command>select co1, col2 from test_table</command>
100 * <concurrency>1</concurrency>
101 * <datasource/>
102 * <escape-processing>true</escape-processing>
103 * <fetch-direction>0</fetch-direction>
104 * <fetch-size>0</fetch-size>
105 * <isolation-level>1</isolation-level>
106 * <key-columns/>
107 * <map/>
108 * <max-field-size>0</max-field-size>
109 * <max-rows>0</max-rows>
110 * <query-timeout>0</query-timeout>
111 * <read-only>false</read-only>
112 * <rowset-type>TRANSACTION_READ_UNCOMMITTED</rowset-type>
|