Multithreaded OCCI UDT streaming
I've written an web service that serves information hosted in an Oracle SE database (11.2.0.3 Patch 24) through the OCCI C++ client library. The information is retrieved from object-views, as they seem to provide much better performance than holding objects in tables, and have used the OTT tool to provide OCCI compatible classes. The environment handle is initialised with both the threaded_mutex and object flags and I'm using a stateless homogeneous connection pool to retrieve the data.
When making single requests the application works as expected, but as soon as I use multiple threads for the requests, the service falls over when doing the object deserialisation, typically during a call to oracle::occi::getVector().This code is unchanged from when I generated it from the OTT tool. The oracle client I'm using is 11.2.0.3 patch 27.
0