<slaps forehead> -- thanks Karel. I already scanned that page for the
CONNECTION-FINDER. This should be easy enough to resolve.
> Hi David,
>
> Check the information on this page:
http://www.hibernatespatial.org/> hibernate-spatial-oracle/usage.html. Esp. the section on the
> ConnectionFinder interface.
>
> The ConnectionFinder interface was developed to resolve the issue
> discussed in the thread you refer to. The code you have should be put
> in an implementation of this interface.
>
> Please let me know if this isn't clear, or doesn't resolve your
> issue, and we'll discuss this further. Also, I would appreciate if
> you would send your ConnectionFinder implementation for WebLogic
> because it may be of help for other users.
>
> Regards,
>
> Karel Maesen
>
>
> On 13 Feb 2009, at 16:13, Davis Ford wrote:
>
>> Hi, I read the thread here:
>>
http://n2.nabble.com/Problem-during-conversion-from-JTS-to->> JGeometry-tc1141241.html
>>
>> It appears I have hit the same issue. We are using
>> hibernate-spatial-1.0-M2.jar and hibernate-spatial-oracle-1.0-M2.jar.
>>
>> In integration tests hibernate-spatial works fine against Oracle.
>> When we deploy to BEA weblogic, this issue pops up.
>>
>> It looks like the Connection is wrapped so you don't get the specific
>> OracleConnection you need to create a STRUCT -- but it also looks like
>> the issue has a workaround/patch that was posted.
>>
>> Can you confirm if this is still and issue -- how do I work around it
>> when deployed in a container?
>>
>> We have code that can dig out an OracleConnection from a BEA weblogic
>> container. We could either send you a patch which you could add as
>> part of the OracleConnectionFinder -- or we were wondering if we might
>> be able to do some magic with Spring/AOP to inject the object. What
>> do you think?
>>
>> Regards,
>> Davis
>>
>> --
>> Zeno Consulting, Inc.
>> home:
http://www.zenoconsulting.biz>> blog:
http://zenoconsulting.wikidot.com>> p: 248.894.4922
>> f: 313.884.2977
>> _______________________________________________
>> hibernatespatial-users mailing list
>>
[hidden email]
>>
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/>> hibernatespatial-users
>
> _______________________________________________
> hibernatespatial-users mailing list
>
[hidden email]
>
http://www.hibernatespatial.org/cgi-bin/mailman/listinfo/hibernatespatial-users>