Skip to main content
Apr 29, 2020 5:43 AM UTC
Solved

Use thingworx to operate postgresql how to start a transaction

As the title, how can i use commit () and rollback () in sql service

PaiChungAnswer
Apr 29, 2020 2:25 PM UTC

Best way is to create stored procedures on the DB side and invoke them from Thingworx (using the JDBC connection)

You can write full Procedures on the Thingworx side and execute them through the JDBC connection.

2 replies

PaiChungAnswer
Apr 29, 2020 2:25 PM UTC

Best way is to create stored procedures on the DB side and invoke them from Thingworx (using the JDBC connection)

You can write full Procedures on the Thingworx side and execute them through the JDBC connection.

May 7, 2020 8:09 PM UTC

Hi @chenzhuang111.

 

If you are satisfied with the response previously provided, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon