This content has been marked as final.
Show 1 reply
-
1. Re: unwrapping WrapperDataSource
jesper.pedersen Jul 30, 2013 9:32 AM (in response to mwiede)We don't support unwrapping a DataSource/XADataSource as it would expose the getConnection()/getXAConnection() methods. Calling these would result in connections not being controlled by IronJacamar.
You could looking doing a proxy object solution for WrapperDataSource::getWrappedObject() which calls the WrapperDataSource methods, and only the underlying datasource for methods outside the spec. However, it isn't as simple as it sounds.
So set the properties on the datasource that you need, and unwrap the connection instead - although it sounds like Oracle Advanced Queuing has a wacky API.