I am obtaining vendor's database connection via
The reason I need to do this is Oracle's XSQL servlet that needs
Oracle-specific features for some operations.
The problem is that it handles opening and closing of connections on
it's own. All I can do is to pass a DataSource object to it. I need to
pass an OracleConnection object but I can't let XSQL Server close that
connection. Instead, I decided to try to close Resin connection before
passing the unwrapped OracleConnection to XSQL engine.
I've tested it and it seems to work. No messages about dangling
connections or problems with subsequent use unwrapped object.
What happens if I close Resin's connection before I actually use the
vendor's, unwrapped , connection ?
Resin 3.1.3/JDK 1.6
adr:Suite 400;;582 Market St.;San Francisco;CA;94104;USA
resin-interest mailing list