JDBCDataStore has no bindings for primitive types
-------------------------------------------------

                 Key: GEOT-3276
                 URL: http://jira.codehaus.org/browse/GEOT-3276
             Project: GeoTools
          Issue Type: Improvement
          Components: data jdbc
    Affects Versions: 2.7-M3
            Reporter: Andrea Aime
            Assignee: Andrea Aime
             Fix For: 2.7-M4


The GeoTools API does not force the programmer to define attribute types as 
Integer.class, but accepts also int.class
However the JDBCDataStore.createSchema gets confused if those are used because 
the primitives are not bound to the equivalent database types.

The attached patch provides a simple fix for that

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to