法 SQLData.writeSQL。方法 writeSQL 依次调用适当的 SQLOutput writer 方法(writeBoolean、writeCharacterStream 等),将数据作为 SQL 用户定义类型的表示形式从 SQLData 对象写入 SQLOutput 输出流。Р1 Package java.sql DescriptionРProvides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language. This API includes a framework whereby different drivers can be installed dynamically to access different data sources. Although the JDBC API is mainly geared to passing SQL statements to a database, it provides for reading and writing data from any data source with a tabular format. The reader/writer facility, available through the javax.sql.RowSet group of interfaces, can be customized to use and update data from a spread sheet, flat file, or any other tabular data source.