Skip to main content

Posts

Showing posts with the label correct answers of Upwork JDBC 2.1 Test

Upwork JDBC 2.1 Test Answers

JBDC (Java Database Connectivity) 1. Under which category does the following driver fall:  WebLogic's Tengah "all Java Type-3 driver"   Answers:  • Net-Protocol All-Java Driver  2. Which JDBC driver is considered best in terms of performance and efficiency?   Answers:  • Type-1 Driver  3. Please select all the correct options. JDBC Driver Manager is:   Answers:  • Able to activate registered drivers  4. Consider the following statement:  PreparedStatement ps=con.prepareStatement("INSERT INTO ORDER (CUSTOMER_ID ,PRICE) VALUES(?,?)");  Which of the following should come after this statement?   Answers:  • ps.clearParameters(); ps.setInt(1,3); ps.setDouble(2,790.50); ps.executeUpdate();  5. You want to start a transaction for bank account processing. Which of the following methods will you execute on the Connection object to begin it?   Answers:  • con.setAutoCommit(false);  6. You need to use a thi...