A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://issues.apache.org/jira/browse/OPENJPA-2742 below:

[OPENJPA-2742] SchemaTool fails with MySQL

When running the SchemaTool for db initialization, an exception is reported:

MySQLNonTransientConnectionException: Can't call rollback when autocommit=true

No tables are created, and the OpenJPA initialization fails.

The problem is originated in SchemaTool#executeSQL where a rollback is issued before any DDL statement is effectively run, and this causes troubles to MySQL.

Prior to version 8, the MySQL JDBC Driver used to provide a property relaxAutocommit=true to append to the JDBC URL, which could be leveraged as workaround; now this option was removed.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4