gvSIG bugs #2091

JDBCStoreProvider doesn't now how to create a "count" sql for direct-sql connection

Added by Jose Manuel Vivó Arnal over 10 years ago. Updated over 10 years ago.

Status:Closed% Done:

0%

Priority:HighSpent time:-
Assignee:Juan Lucas Domínguez
Category:Database
Target version:2.1.0-2217-devel
Severity: Add-on version:
gvSIG version:2.0.0 Add-on build:
gvSIG build:2066 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:Yes Hito:
Add-on name:Unknown

Description

JDBCStoreProvider.compoundCountSelect, for sources which specifies a SQL as source, return null. This produces a NPE when JDBC driver tries to execute a Null string.

This patch fixes the problem.

fixes_count_sql_for_direct-sql_sources.patch Magnifier (848 Bytes) Jose Manuel Vivó Arnal, 11/06/2013 03:57 PM


Related issues

Related to Application: gvSIG desktop - gvSIG bugs #2090: No default geometry type for Postgis sources Closed
Related to Application: gvSIG desktop - gvSIG bugs #2089: Erroneous condition on PostgreSQLHelper.getFullEnvelopeOf... Closed
Related to Application: gvSIG desktop - gvSIG bugs #2100: direct-sql sources select-sql creation problem Closed

History

#1 Updated by Juan Lucas Domínguez over 10 years ago

  • Assignee set to Juan Lucas Domínguez

#2 Updated by Juan Lucas Domínguez over 10 years ago

  • Status changed from New to Fixed

Fixed method for creating SQL count sentence. Patch provided by jmvivo.

gvsig-desktop:r40877

#3 Updated by Joaquín del Cerro Murciano over 10 years ago

  • Target version set to 2.1.0-2217-devel

#4 Updated by Álvaro Anguix over 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF