From: <svn...@os...> - 2012-02-29 02:41:42
|
Author: jdeolive Date: 2012-02-28 18:41:35 -0800 (Tue, 28 Feb 2012) New Revision: 38579 Modified: branches/2.7.x/modules/library/jdbc/src/main/java/org/geotools/jdbc/SQLDialect.java Log: GEOT-3609, applying patch for 2.7.x with numeric values to avioid compilation errors Modified: branches/2.7.x/modules/library/jdbc/src/main/java/org/geotools/jdbc/SQLDialect.java =================================================================== --- branches/2.7.x/modules/library/jdbc/src/main/java/org/geotools/jdbc/SQLDialect.java 2012-02-28 04:48:20 UTC (rev 38578) +++ branches/2.7.x/modules/library/jdbc/src/main/java/org/geotools/jdbc/SQLDialect.java 2012-02-29 02:41:35 UTC (rev 38579) @@ -264,6 +264,8 @@ mappings.put(new Integer(Types.VARCHAR), String.class); mappings.put(new Integer(Types.CHAR), String.class); mappings.put(new Integer(Types.LONGVARCHAR), String.class); + mappings.put(new Integer(-9), String.class); + mappings.put(new Integer(-15), String.class); mappings.put(new Integer(Types.BIT), Boolean.class); mappings.put(new Integer(Types.BOOLEAN), Boolean.class); |