[jboss-user] [Datasource Configuration] - Oracle User Type Mappings
jaikiran pai
do-not-reply at jboss.com
Wed Jul 21 13:12:37 EDT 2010
jaikiran pai [http://community.jboss.org/people/jaikiran] replied to the discussion
"Oracle User Type Mappings"
To view the discussion, visit: http://community.jboss.org/message/553793#553793
--------------------------------------------------------------
It works fine for me. Are you sure, you used the right code? What does the following print:
DataSource ds = (DataSource) new InitialContext().lookup("java:DefaultDS"); // replace this with your datasource deployed in JBoss
con = ds.getConnection();
System.out.println("Connection is " + con);
org.jboss.resource.adapter.jdbc.WrappedConnection wc = (WrappedConnection) con;
Connection uc = wc.getUnderlyingConnection();
System.out.println("Underlying Connection is " + uc);
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/553793#553793]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2077]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100721/acb2babe/attachment.html
More information about the jboss-user
mailing list