I just read the ConnectionPools very quickly (I have to go soon) and found the
following sentence:

   "The Oracle datastore wants to have direct access to an OracleConnection
    (so it can play directly with the Oracle STRUCT interface etc...). To do
   that we need to "unwrapp" the Connection provided by the DataSource."

Maybe it is totally irelevant, but just in case I would like to point out that
J2SE 6 has an API for that:

http://java.sun.com/javase/6/docs/api/java/sql/Wrapper.html

so you can call:

    Object obj = connection.unwrap(theOracleClass);

Now I'm aware that we are not allowed to compile for J2SE 6 right now. Or maybe
we can start thiking about creating more profile in Maven (we already have J2SE
4 / J2SE 5 profiles).

        Martin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to