I am using Hibernate Spatial which uses this Library internally. I am able to save a collection containing Polygon with inner rings, but while retrieving it from DB, I am always getting an exception (Screenshot Attached) (works well in case of Polygon without inner rings).
On debugging I found that the cause was at the getElementGeometries() method in org.geolatte.geom.codec.db.oracle.SDOGeometry.class.
I made it work for the time being by tweaking it a little. File attached:
I am using Hibernate Spatial which uses this Library internally. I am able to save a collection containing Polygon with inner rings, but while retrieving it from DB, I am always getting an exception (Screenshot Attached) (works well in case of Polygon without inner rings). On debugging I found that the cause was at the getElementGeometries() method in org.geolatte.geom.codec.db.oracle.SDOGeometry.class.
I made it work for the time being by tweaking it a little. File attached:
SDOGeometry.java.zip
ScreenShots: