[hg] main-silver: #230626: Blacklist informix for scrollable cur...

  • From: Jaroslav Havlin < >
  • To:
  • Subject: [hg] main-silver: #230626: Blacklist informix for scrollable cur...
  • Date: Tue, 04 Jun 2013 13:34:13 -0700

changeset 54e7c326d93d in main-silver ((none))
details: http://hg.netbeans.org/main-silver/rev/54e7c326d93d
description:
        #230626: Blacklist informix for scrollable cursors

        Patch by Matthias42.

diffstat:

 
db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
 |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff --git 
a/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
 
b/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
--- 
a/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
+++ 
b/db.dataview/src/org/netbeans/modules/db/dataview/output/SQLExecutionHelper.java
@@ -941,6 +941,12 @@
                 resultSetScrollType = ResultSet.TYPE_FORWARD_ONLY;
                 return;
             }
+        } else if (driverName != null
+                && driverName.startsWith("com.informix.jdbc.IfxDriver")) { 
//NOI18N
+            // Informix failes scrollable result sets if blob columns are 
part
+            // of the resultset -> disable ...
+            resultSetScrollType = ResultSet.TYPE_FORWARD_ONLY;
+            return;
         }
         /* Try to get a "good" scrollable ResultSet and follow the DBs 
support */
         try {

[hg] main-silver: #230626: Blacklist informix for scrollable cur...

Jaroslav Havlin 06/04/2013

Project Features

About this Project

DB was started in November 2009, is owned by Antonin Nebuzelsky, and has 113 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close