Commits
Commits
By default, the CData JDBC Driver for Apache Phoenix works in auto commit mode.
That is, any create/update/upsert/delete operation executed, will be automatically auto committed on the server.
The same is true for batch operations as well.
You can set auto commit mode off by using setAutoCommit(false) on a Connection object. In that instance, it's up to the user to manually send commit or rollback requests.
If the driver is working on autoCommit=False, then a commit request will be executed when the connection is closed (either manually closing the connection or if it's done by the underlying tool).