Hi, We were stuck on a failing unit test for two days on H2GIS. Then we understood that we were changing a geometry in-place. In conjunction with the object cache, a WKB hash of a ValueGeometry does not fit with the mutated Geometry instance.
This fix simply return a Geometry clone when the user do rs.getObject( ) https://github.com/nicolas-f/H2-Mirror/compare/fix;FixGeometryMutationCache https://github.com/nicolas-f/H2-Mirror/compare/fix;FixGeometryMutationCache.diff https://github.com/nicolas-f/H2-Mirror/compare/fix;FixGeometryMutationCache.patch Regards, Nicolas Fortin RISING team CNRS - Ecole Centrale de Nantes BP 92101 1 rue de la Noƫ, 44321 NANTES Cedex 3 France http://www.ec-nantes.fr/ -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
