Home > Back-end >  Java database transactions and database is the difference between the affairs of their own?
Java database transactions and database is the difference between the affairs of their own?

Time:09-23

What is the advantages and disadvantages? Which is better?

CodePudding user response:


Database is according to their own affairs, database skills, such as the connection class provides a series of commit, rollback method, can set up the connection of the default isolation level, whether autocommit, etc.,
Java database transaction refers to the realization of the Spring transaction?
I know that you have two ways to configure mybatis configuration transaction, one kind is JDBCTransaction, namely the ability to database management, is a kind of managedTransaction, namely transaction to Spring management

CodePudding user response:

reference 1/f, superman small ice response:
database of their own affairs, is based on database of ability to implement, such as the connection class provides a series of commit, rollback method, can set the default isolation level connection, whether autocommit, etc.,
Java database transaction refers to the realization of the Spring transaction?
I know that you have two ways to configure mybatis configuration transaction, one kind is JDBCTransaction, namely the ability to database management, is a kind of managedTransaction, namely make the transaction to Spring management
http://c.biancheng.net/view/4762.html
  • Related