IllegalAttributeException when using sqlserver with sqljdbc version 3.0 with 
Geometry columns
---------------------------------------------------------------------------------------------

                 Key: GEOT-3263
                 URL: http://jira.codehaus.org/browse/GEOT-3263
             Project: GeoTools
          Issue Type: Bug
          Components: data jdbc
    Affects Versions: 2.7-M3
         Environment: Microsoft SQL Server 2008, sqljdbc.jar 3.0, JDK 1.5
            Reporter: Rini Angreani


According to MSDN website 
(http://msdn.microsoft.com/en-us/library/ms379048.aspx):

geometry column is returned by JDBC 2.0 as LONGVARBINARY (-4), and returned by 
JDBC 3.0 as VARBINARY (-3)

With the new mapping for VARBINARY in SqlDialect.class, when I use JDBC 3.0, 
the geometry column binding returns byte[]. This causes an exception thrown at 
DataUtilities.defaultValue(Class type), line 907:


-- 
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

        

------------------------------------------------------------------------------
Automate Storage Tiering Simply
Optimize IT performance and efficiency through flexible, powerful, 
automated storage tiering capabilities. View this brief to learn how
you can reduce costs and improve performance. 
http://p.sf.net/sfu/dell-sfdev2dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to