JGeometry doesn't work with multiple connections...
271872May 18 2004 — edited Apr 18 2006If I try to use JGeometry.store() to create a STRUCT, it works as long as I always use the same connection. If I use JGeometry.store, close the connection, open a new connection and call JGeometry.store I get the following:
java.sql.SQLException: Cannot construct ARRAY instance, invalid connection
at oracle.sql.ARRAY.<init>(ARRAY.java:123)
at oracle.spatial.geometry.JGeometry.store(JGeometry.java:1289)
at ...
It appears that JGeometry is keeping around some static descriptors that were initialized with my first connection and that are incompatible with my follow-on connections. Am I interpreting this correctly?
Is this a known bug?
Any help that you could throw this way would be much appreciated.
Thanks,
-Ray