weblogic 12.2.1.4 and Mysql driver - Issue with JNDI configurartion [message #679719] |
Wed, 18 March 2020 15:30 |
|
hariyapuraju
Messages: 1 Registered: March 2020
|
Junior Member |
|
|
Created a JNDI in weblogic 12.2.1.4 using com.mysql.jdbc.Driver which comes from mysql-connector-java-commercial-8.0.14.jar (default jar which comes with weblogic) as below
jdbc:mysql://localhost:3306/databaseA
When trying to use the JNDI we are not only getting databaseA tables but also other databases tables like databaseB which are present.
That means the databaseA passed in the URL is not considered.
One more observation : Instead of using JNDI directly used the driver and created connection using JDBC. Then i am getting only tables
of the databaseA which is passed in the URL.
This issue does not exist when configured same JNDI in weblogic 12.2.1.3. The weblogic 12.2.1.3 internally has mysql-connector-java-commercial-5.1.22-bin.jar
|
|
|