Question 5: Which of the statement is true để nạp một JDBC driver. 1. registerDriver (Driver driver). 2. Class.forName (java.lang.String driverclass)
first
2
twelfth
Neither of the above
Question 6: Which of the following ment states is true for the Type 2 JDBC driver?
Một kiểu 2 driver converts JDBC calls into calls cho một cơ sở dữ liệu Specific
Trình điều khiển này được liên kết như là "native-API, mostly Java driver"
Như với phần 1 driver, một số mã số mã số binary cần thiết trên máy phục vụ này, nghĩa là kiểu này của driver không phải được chọn để tải lên một máy phục vụ đến một máy phục vụ
All of above
Question 7: Which of the following is false about the Type 3 JDBC driver?
A Type 3 driver is a JDBC-Net pure Java driver
Dịch vụ dịch vụ JDBC này vào một giao thức cơ sở dữ liệu
Vendors của cơ sở dữ liệu middleware có thể thực hiện này kiểu điều khiển vào các các tập tin để cung cấp số liên kết hợp với số nguyên của cơ sở dữ liệu.
All of the above.
Question 8: Which of the following allows non-repeatable read in JDBC connection class?
TRANSACTION_READ_UNCOMMITTEDB
TRANSACTION_READ_ COMMITTED
TRANSACTION_SERIALIZABLE
TRANSACTION_REPEATABLE_READ
Question 9: Which of the following statement is false regarding exceptions in JDBC?
SQLWarning objects are a subclass of SQLException that deal with database access warnings
Warnings stop the execution of an application, as exceptions due; bạn cần phải xác định người dùng mà không đã xác định như là đợi
Lỗi kết nối đã có một getWarning () method trong nó.
Cấu hình và ResultSet đối tượng có getWarning () method trong nó.
Question 10: Which of the following statement is false regarding các kiểu khác nhau của JDBC này.
Regular Statement (use createStatement method)
Prepared statement (use prepareStatement method)
Callable statement (use prepareCall).
Interim statement (use jdbcCall).
Question 11: Which isolation level prevents dirty read in JDBC, connection class?
TRANSACTION_READ_UNCOMMITTEDB
TRANSACTION_READ_ COMMITTED
TRANSACTION_SERIALIZABLE
TRANSACTION_REPEATABLE_READ
Question 12: Which of the following allows phantom read in JDBC, connection class?
TRANSACTION_READ_UNCOMMITTEDB
TRANSACTION_READ_ COMMITTED
TRANSACTION_SERIALIZABLE
TRANSACTION_REPEATABLE_READ
Question 13: ResultSet.CONCUR_UPDATABLE used with the result set được dùng để cập nhật các dòng đã đặt trong cơ sở dữ liệu?
True
False
Question 14: The data defined by th class được xác định đến như biến biến dữ liệu hoặc instance variables?
True
False
Question 15: The Java compiler requires that a file source use . filename extension?