problem resolved !
The wrappeddatasource returned by the ctx.lookup was not an
Oracledatasource at least it couldn't be cast as. But the Connection
has a method that make possible it to be cast as oracleconnection in order to use XML functions of oraclesomething objects.
Can you explain a little bit better how to do this... the DataSource that i get is from javax.sql and it doesn't have any method with the name getunderlyingconnection()
I really need to use the features of Oracle, please let me know