提交 4c1f460a 编写于 作者: J jurgen

PostgreSQL connection timeout added

Test connection fix (double dispose)
上级 42215285
......@@ -189,8 +189,6 @@ public abstract class ConnectionWizard extends Wizard implements INewWizard {
monitor.subTask(CoreMessages.dialog_connection_wizard_start_connection_monitor_success);
} catch (DBException ex) {
throw new InvocationTargetException(ex);
} finally {
testDataSource.dispose();
}
}
}
......
......@@ -132,6 +132,8 @@
description="PostgreSQL standard driver">
<file type="jar" path="drivers/postgresql/postgresql-9.1-901.jdbc4.jar" url="*"/>
<file type="license" path="drivers/postgresql/LICENSE.txt" url="*"/>
<property name="loginTimeout" value="10"/>
<parameter name="query-get-active-db" value="SHOW search_path"/>
<parameter name="query-set-active-db" value="SET search_path = ?"/>
<parameter name="active-entity-type" value="schema"/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册