Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
WebLogic Server - JDBC
Please enter a title.
You can not post a blank message. Please type your message and try again.
This discussion is archived
: Jun 28, 2012 12:45 AM by
how to set datasource under jndi nane java:comp/env/jdbc
Jun 28, 2012 12:45 AM
JNDI Name - Enter the JNDI path to where this JDBC data source will be bound. Applications look up the data source on the JNDI tree by this name when reserving a connection.
in weblogic, if I enter jdbc/test in datsource > jndi name, then in application, I need lookup with
but if I want the application to lookup the datasource with
how should I set it?
and in fact, I always heard InitialContext.lookup("jdbc/test") is global jndi name and "java:comp/env/jdbc/test" is local JNDI name, but what is the difference in fact?
This content has been marked as final.
Show 0 replies