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.
This bug was originally marked as duplicate of bug 221602, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: Mac OS X User Comments: brettryan: Executing SQL query. Maximum slowness yet reported was 43197 ms, average is 43197
Created attachment 150972 [details] nps snapshot
Created attachment 151084 [details] potential patch v1 It looks like the driver makes expensive calls while getWarnings is run. The attached patch moves the warning retrieval into the time limited call in checkClosedWithTimeout.
Patch commited as: http://hg.netbeans.org/core-main/rev/445492ab23fb
Integrated into 'main-silver', will be available in build *201501230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/445492ab23fb User: Matthias Blaesing <matthias42@netbeans.org> Log: #249214: connection.getWarnings is potentially slow, move getWarnings call into time limited Callable
Please help with QA - in the nightly build the fix can be tested. Please check if your problem is fixed there. If so, please change the status of this bug to "VERIFIED".
Will do, I need to wait a few days when I go into the office as from home I only have a dialup connection.
*** Bug 246591 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201502020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f23f043b4a4d User: Matthias Blaesing <matthias42@netbeans.org> Log: #246591:Integrate missing cleanups from #249214 - remove unecessary logging and move to java7 features