nerdexam
IBM

C2180-272 · Question #38

A solution developer codes a JavaCompute node using a getJDBCType4Connection API call to connect to a JDBC database that is globally coordinated, and then writes code to insert new records into that…

The correct answer is D. Alter the type4DatasourceClassName property of the JDBCProvider. See the full explanation below for the reasoning.

Question

A solution developer codes a JavaCompute node using a getJDBCType4Connection API call to connect to a JDBC database that is globally coordinated, and then writes code to insert new records into that database based on the contents of incoming MQ messages. The solution developer observes that database inserts are not rolled back if the message flow experiences an error after this Compute node. What must the solution developer do to correct this?

Options

  • AAlter the code to use MbSQLStatement
  • BInsert code to issue statements to rollback
  • CAlter the Transaction Mode of the JavaCompute node to commit
  • DAlter the type4DatasourceClassName property of the JDBCProvider

How the community answered

(43 responses)
  • A
    9% (4)
  • B
    5% (2)
  • C
    2% (1)
  • D
    84% (36)

Community Discussion

No community discussion yet for this question.

Full C2180-272 Practice