summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b9ab24b)
Bugreport from: Adriano Machado <adriano.m.machado@hotmail.com>
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.
/** Close the connection */
try
{
/** Close the connection */
try
{
+ if (connection != null)
+ connection.close();
}
catch (SQLException e)
{
}
catch (SQLException e)
{