From: Kai Moritz Date: Sun, 13 Nov 2016 14:56:56 +0000 (+0100) Subject: Fixed the akquisition of a database-connection, if one is needed X-Git-Tag: hibernate-maven-plugin-2.1.0~9 X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=commitdiff_plain;h=653ab8054c9232471c3c1192d5074010f378a067;hp=653ab8054c9232471c3c1192d5074010f378a067 Fixed the akquisition of a database-connection, if one is needed * The helper-class SimpleConnectionProvider was not changed to reflect the alterd handling of the configuration parameters. * If only the user is missing, SimpleConnectionProvider tries to akquire a connection, because for example H2 does not always need a user, hence this is an sufficient configuration. * If an exception is thrown during database akquisition, it is only logged, instead of rethrown. * Adapted the example-code for the hibernate-bug HHH-9615 to function as an additional integration-test and used it, to proof, that an database connection can be akquired, if only the driver and the URL is present. ---