Hi,
in MySQL docs there is a note about my question
"Important
Many APIs used for writing MySQL client applications (such as JDBC) provide their own methods for starting transactions that can (and sometimes should) be used instead of sending a START TRANSACTION statement from the client. See Chapter 20, Connectors and APIs, or the documentation for your API, for more information."
I could not find any information in Connector/J docs about this specific feature.
I would use transaction in java but im not sure what will happen if I used both java and mysql transactions. Or should I use java (JDBC) transactions only?
in MySQL docs there is a note about my question
"Important
Many APIs used for writing MySQL client applications (such as JDBC) provide their own methods for starting transactions that can (and sometimes should) be used instead of sending a START TRANSACTION statement from the client. See Chapter 20, Connectors and APIs, or the documentation for your API, for more information."
I could not find any information in Connector/J docs about this specific feature.
I would use transaction in java but im not sure what will happen if I used both java and mysql transactions. Or should I use java (JDBC) transactions only?