The changes in this pull request will disable auto-commit when inserting RedG data with the insertDataIntoDatabase method. It will from now on be the user's responsibility to either commit the RedG data if they want to or to simply roll back the changes after the test is done. If auto-commit is enabled on the connection, it will no longer be disabled, so that the data then get committed automatically.
The insertDataIntoDatabase(DataSource dataSource) methods gets removed, as it acquires a connection from the data source and closes it after usage. Thus, if the connection is not auto-committed, the data will be immediately lost. If you were using this feature, please acquire the connection manually and manage it however you like.
The changes in this pull request will disable auto-commit when inserting RedG data with the
insertDataIntoDatabase
method. It will from now on be the user's responsibility to either commit the RedG data if they want to or to simply roll back the changes after the test is done. If auto-commit is enabled on the connection, it will no longer be disabled, so that the data then get committed automatically.The
insertDataIntoDatabase(DataSource dataSource)
methods gets removed, as it acquires a connection from the data source and closes it after usage. Thus, if the connection is not auto-committed, the data will be immediately lost. If you were using this feature, please acquire the connection manually and manage it however you like.