From: Kai Moritz Date: Wed, 9 Jan 2013 19:57:22 +0000 (+0100) Subject: Bugfix: connection was closed, even when it was never created X-Git-Tag: hibernate4-maven-plugin-1.0.1~9 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=54b22b88de40795a73397ac8b3725716bc80b6c4;hp=54b22b88de40795a73397ac8b3725716bc80b6c4;p=hibernate4-maven-plugin Bugfix: connection was closed, even when it was never created Bugreport from: Adriano Machado When only the script is generated and no export is executed, no database- connection is opend. Nevertheless, the code tried to close it in the finally-block, which lead to a NPE. ---