[Geoserver-devel] geoserver 1.2.0-rc3 released, please test!

Hey all, I just put gesoerver 1.2.0-rc3 out on sourceforge, available
for download at:
http://sourceforge.net/project/showfiles.php?group_id=25086&package_id=38410&release_id=256877

Please download and test it out, as this will be turned into the 1.2.0
release, I just want to make sure there are no big bugs (or minor ones
that are _really_ annoying). I've been testing oracle (10g) and arcsde
(8.3) the last two weeks, so hopefully they should work better than in
rc2. I also got postgis completely passing cite tests. So please
download and tell me what you'd like to see for 1.2.0, and I will
hopefully put it out on monday or tuesday next week.

thanks!

Chris

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

Hi,

I have a problem where I cannot load Oracle tables which have a single column primary key of type DECIMAL. The same problem would happen with a DATE type.

The multi column fid mapper handles DECIMALS / arbitrary types fine, so can we please change FIDMapper buildSingleColumnFidMapper to be consistent.

Instead of returning null, it just needs to return a BasicFIDMapper :

eg from this

    private FIDMapper buildSingleColumnFidMapper(String schema,
        String tableName, Connection connection, ColumnInfo ci) {
        if (ci.autoIncrement) {
            return new AutoIncrementFIDMapper(ci.colName, ci.dataType);
        } else if (isIntegralType(ci.dataType)) {
            return new MaxIncFIDMapper(tableName, ci.colName, ci.dataType);
        } else if (isTextType(ci.dataType)) {
            return new BasicFIDMapper(ci.colName, ci.size);
        } else {
            return null;
        }
    }

to this

    private FIDMapper buildSingleColumnFidMapper(String schema,
        String tableName, Connection connection, ColumnInfo ci) {
        if (ci.autoIncrement) {
            return new AutoIncrementFIDMapper(ci.colName, ci.dataType);
        } else if (isIntegralType(ci.dataType)) {
            return new MaxIncFIDMapper(tableName, ci.colName, ci.dataType);
        } else {
            return new BasicFIDMapper(ci.colName, ci.size);
    }

Thanks
Peter Barrs
Social Change Online

At 00:38 01/08/2004 +1000, Peter Barrs wrote:

Hi,

I have a problem where I cannot load Oracle tables which have a single column primary key of type DECIMAL. The same problem would happen with a DATE type.

Thanks for the detailed report. I've filed this as GEOT-224:
http://jira.codehaus.org/browse/GEOT-224

You may want to sign up for an account on the tracker so that you can watch the issue.

James