1.30.22.5
1.30.22.5
New Features
-
Added the following new methods to the
JDBCDataBaseMetaDataclass:setCatalogto set the database catalog name to select a subspace of the Connection object's database in which to work.getCatalogsto get the database catalogs.getTablesto get information of specific tables.getColumnsto get information of specific columns.
-
Added
getBigDecimalmethod to theJDBCResultclass to retrieve the value of specified column as BigDecimal type. It can be called in two ways:BigDecimal getBigDecimal(int columnIndex) throws SQLException; BigDecimal getBigDecimal(String columnLabel) throws SQLException; -
The
commit()androllback()methods ofJDBCConnectionclass do not support transactions at user level and return null by default. -
Added method
setMaxRowsto theJDBCStatementclass to set the upper limit for the number of records that aResultSetobject can contain. -
Added method
getMaxRowsto theJDBCStatementclass to get the specified upper limit for the number of records applied to theResultSetobject. -
The
insert intoclause ofJDBCPrepareStatementclass now writes data in batches instead of by record. -
The
insert intoclause ofJDBCPrepareStatementclass now supports inserting data to specific columns, and null values are written to the rest columns.