Test Status
      JDBCRANDOMTEST
      (A) A workaround is to explicitly call the method DriverManager.registerDriver(new YourDriverClass).
      (B) The problem is due to race condition in the class loader.
      (C) The race condition prevents the static section of code in the driver class from executing and registering the driver with the DriverManager.
      (D) All the above.
      (A) Regular Statement
      (B) Interim Statement
      (C) Callable Statement
      (D) Prepared Statement
      (A) Both Type 1 and Type 2
      (B) Both Type 3 and Type 4
      (C) Both Type 1 and Type 3
      (D) Type 4 only
      (A) When a connection is created, it is in auto-commit mode.
      (B) If the value is true each individual SQL statement is treated as a transaction and will be automatically committed right after it is executed.
      (C) once auto-commit mode is disabled, no SQL statements will be committed until you call the method commit explicitly
      (D) By default the JDBC call is in auto-commit mode.
      (A) Type 1
      (B) Type 2
      (C) Type 3
      (D) Type 4
      (A) Both Type 1 and Type 3
      (B) Both Type 1 and Type 2
      (C) Both Type 3 and Type 4
      (D) Type 4 only
      (A) One
      (B) Two
      (C) Three
      (D) Four
      (A) Native-protocol, pure Java driver
      (B) JDBC-Net, pure Java driver
      (C) Native-API, partly Java driver
      (D) JDBC-ODBC Bridge plus ODBC driver
      (A) Type 1 only
      (B) Type 2 only
      (C) Both Type 3 and Type 4
      (D) All of Type 1, Type 2, Type 3 and Type 4
      (A) CallableStatement clbstmnt = con.prepareCall("{call totalStock}");cs.executeQuery();
      (B) Statement stmt = connection.createStatement();stmt.execute("totalStock()");
      (C) StoreProcedureStatement spstmt = connection.createStoreProcedure("totalStock()");spstmt.executeQuery();
      (D) PrepareStatement pstmt = connection.prepareStatement("totalStock()");pstmt.execute();
      (A) A Type 3 driver is a JDBC-Net pure Java driver
      (B) This translates JDBC calls into a database -dependent net protocol.
      (C) Vendors of database middleware products can implement this type of driver into their products to provide interoperability with the greatest number of database servers.
      (D) a,b