Hi Andrea it works with "public". According to the "Versioned datastore user guide" [1] it should be possible to add an author and a commit message to the transaction. This doesn't work for me. The author and message attributes are empty in the changesets table (expect the very first one which comes from 'setVersioned(...)' method call).
[1]: http://docs.codehaus.org/display/GEOTOOLS/Versioning+datastore+user+guide regards Stefan mit freundlichem Gruss Stefan Ziegler ----- Originalnachricht ----- Von: "Ziegler Stefan" <[email protected]> Gesendet: Mon, 1.2.2010 09:21 An: "Andrea Aime" <[email protected]> Cc: [email protected] Betreff: Re: [Geotools-gt2-users] Versioned Postgis Thanks. I'll give it a try with "public". regards Stefan mit freundlichem Gruss Stefan Ziegler ----- Originalnachricht ----- Von: "Andrea Aime" <[email protected]> Gesendet: Mon, 1.2.2010 09:08 An: "Ziegler Stefan" <[email protected]> Cc: [email protected] Betreff: Re: [Geotools-gt2-users] Versioned Postgis Ziegler Stefan ha scritto: > Hi > I'm trying to set up a versioned postgis datastore but ending with some > errors (see below). Do I have to create some special tables in the database > first and insert the tables the should be versioned? As far as I understand > the source code, the tables ('changesets' etc.) should be created by > GeoTools. At least there's some "CREATE TABLE" code. > (Using GeoTools 2.6.1) Correct, they should. Hum, as far as I can tell this is because you specified a schema other than "public". I admit I never tried the versioned datastore under those conditions. The module is currently unsupported, and there is a good chance it will be rewritten partially in the following months to become part of the jdbc-ng family (funding pending), as part of that work I should also get some time to address this problem Cheers Andrea -- Andrea Aime OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
