0

I am using phoenix with transactions, as from phoenix.apache.org/transactions.html, I need to set phoenix.transactions.enabled=true from my client-side.

But how to set that in a java jdbc client?

co2y
  • 179
  • 12

1 Answers1

0

I got it.

Properties info = new Properties();
info.setProperty("phoenix.transactions.enabled", Boolean.TRUE.toString());    
con = DriverManager.getConnection(url, info);
co2y
  • 179
  • 12