Re: [Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-12-16 Thread wallyatkins
How do you specify the previous version (JDBC 2.0) for MySQL with GeoServer? Regards, Wally Atkins Rini Angreani wrote: > > This looks like the same problem I reported: > http://jira.codehaus.org/browse/GEOT-3263 > It's been introduced (accidentally) since VARBINARY mapping was added to > SQLD

Re: [Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-12-15 Thread Rini Angreani
Hi Wally, I don't know if the workaround would work for mysql, using a different version of mysql connector. Perhaps anyone else can help? I only tried sqlserver. Your best bet is to upgrade to the latest beta release (2.1-beta2) where the bug should be fixed. Cheers Rini wallyatkins wrote: >

Re: [Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-09-21 Thread Rini Angreani
Yay, must be the correct solution if 2 people propose them independently then :) Justin Deoliveira-6 wrote: > > Ahh, thanks Rini, i filed a bug yesterday proposing the same fix (to have > type mapping work with name first, before using the sql integer type > reported by the driver). > > On Mon

Re: [Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-09-21 Thread Justin Deoliveira
Ahh, thanks Rini, i filed a bug yesterday proposing the same fix (to have type mapping work with name first, before using the sql integer type reported by the driver). On Mon, Sep 20, 2010 at 7:31 PM, Rini Angreani wrote: > > This looks like the same problem I reported: > http://jira.codehaus.org

Re: [Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-09-20 Thread Rini Angreani
This looks like the same problem I reported: http://jira.codehaus.org/browse/GEOT-3263 It's been introduced (accidentally) since VARBINARY mapping was added to SQLDialect. The workaround was not to use JDBC 3.0 (use previous versions instead). Cheers Rini Justin Deoliveira-6 wrote: > > Odd..

Re: [Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-09-20 Thread Justin Deoliveira
Odd... another user had this same problem but with sql server. In that case it had something to do with the jdbc driver version being used. Are you using the jdbc driver shipped with geoserver? Also are you running on java 5 or java 6. I am still looking into that issue so hopefully will have some

[Geoserver-users] geoserver 2.1 beta1: cannot detect mysql geometry

2010-09-19 Thread nyem
It seems that my geoserver 2.1 beta1 installation cannot detect geometry type from mysql datastore. It shows the feature type as byte[] instead of Geometry. Is this a known issue with beta1? I'm running geoserver/mysql on Windows and the mysql plugin is from http://downloads.sourceforge.net/geos