Any idea, please?
This is my code:
java.util.Properties parms = new java.util.Properties();
parms.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
Context ctx = new InitialContext(parms);
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/OracleSample");
Thanks in advance.
This is my code:
java.util.Properties parms = new java.util.Properties();
parms.setProperty(Context.INITIAL_CONTEXT_FACTORY, "com.ibm.websphere.naming.WsnInitialContextFactory");
Context ctx = new InitialContext(parms);
DataSource ds = (DataSource)ctx.lookup("java:comp/env/jdbc/OracleSample");
Thanks in advance.