Upgrade from JBoss 7.0 to 7.2 and mariadb as database with mysql-JDBC driver caused exception during JPA Update

Now I had to upgrade the JBoss from 7.0 to 7.2 everything else was the same.
A Timer-EJB attempted to update data by JPA  in the database
which is a docker instance with MariaDB. This update caused Exceptions.

Now I've installed a new module with the JDBC-Driver from MariaDB.

After installating the module, adding a driver and changing the driver from
mysql to mariadb ( keeping the JDBC-URL on jdbc:mysql:.... ) , the
exceptions disappeared.