Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JGeometry doesn't work with multiple connections...

271872May 18 2004 — edited Apr 18 2006
If 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 16 2006
Added on May 18 2004
14 comments
7,373 views