This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 229744 - add timeout on database connection
Summary: add timeout on database connection
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.4
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Libor Fischmeistr
Depends on:
Reported: 2013-05-14 17:00 UTC by akobberup
Modified: 2013-08-01 12:53 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description akobberup 2013-05-14 17:00:17 UTC
Would it be possible to add an optional timeout parameter for a database connection?
I have defined database connections for my own test db, our test environments, our staging environment and our production environment in netbeans.
For the first ones i have netbeans store the password, whereas for the staging and prod. databases i input the password manually.

However when i have connected to one of these, i often forget that i have an open connection to the database (the sql tab may be open in the editor while i continue working on something else). It would be awesome to have an option to specify that the connection should be disconnected if no queries are executed within say 5 minutes, so i have to enter the password again when executing the next query.