JDBC Flashcards
Which object has all capabilities of a WebRowSet object, in addition to SQL JOIN capabilities?
JoinRowSet
Which method was used to load database drivers before establishing a connection when using a JDBC version previous to JDBC 4?
Class.forName()
Which concurrency option indicates that a result set should support updates?
CONCUR_UPDATABLE
Which ResultSet method moves the cursor forward one row?
next
Which transaction isolation level option allows dirty, non-repeatable, and phantom reads?
TRANSACTION_READ_UNCOMMITTED
Defined in Connection.
Which two standards must a database driver support to meet JDBC compliance?
JDBC API and SQL 92 Entry Level
Which resultSetType option indicates ResultSet object that is scrollable and generally sensitive to underlying changes to the data.
TYPE_SCROLL_SENSITIVE
Defined in ResultSet
Which transaction isolation level prevents dirty, non-repeatable, and phantom reads?
TRANSACTION_SERIALIZABLE
Defined in Connection.
Which transaction isolation level indicates that dirty reads and non-repeatable reads are prevented; phantom reads can occur?
TRANSACTION_REPEATABLE_READ
Defined in Connection.
Which transaction isolation level indicates that dirty reads are prevented; non-repeatable reads and phantom reads can occur.
TRANSACTION_READ_COMMITTED
Defined in Connection.
Which resultSetType option indicates ResultSet object that is scrollable but generally not sensitive to changes to the underlying data.
TYPE_SCROLL_INSENSITIVE
Defined in ResultSet.
Which resultSetType option indicates ResultSet object whose cursor may move only forward.
TYPE_FORWARD_ONLY
Defined in ResultSet.
Which isolation level applies an exclusive read/write lock for a query and only releases it after the transaction commits?
TRANSACTION_SERIALIZABLE
What is the connection string syntax for the Java DB Embedded Driver?
jdbc:derby:databaseName
Which object has all capabilities of a WebRowSet object, in addition to support for custom filters?
FilteredRowSet
Which three methods of the RowSetFactory create a RowSet object that supports XML read/write operations?
createFilteredRowSet, createJoinRowSet, and createWebRowSet