![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e239. Determining If a Database Supports Transactionstry { DatabaseMetaData dmd = connection.getMetaData(); if (dmd.supportsTransactions()) { // Transactions are supported } else { // Transactions are not supported } } catch (SQLException e) { }
e236. Connecting to a MySQL Database e237. Connecting to a SQLServer Database e238. Listing All Available Parameters for Creating a JDBC Connection e240. Committing and Rolling Back Updates to a Database e241. Handling a SQL Exception e242. Determining If a SQL Warning Occurred e243. Getting the Driver of a Connection e244. Setting the Number of Rows to Prefetch When Executing a SQL Query © 2002 Addison-Wesley. |