Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OJDBC driver cannot handle leading/trailing space characters in password

yongjie.gongJul 21 2023
  1. in sqlplus console, create one user with leading password
    1. create user test1 identified by " oracle";
    2. grant dba to test1;
  2. Can login sucessfully,
    1. sqlplus test1/\"\ oracle\"
  3. Try with oracle “sqldeveloper” or any JDBC based connection. nothing works. jdbc driver: ojdbc8-21.7.0.0.jar

Comments

Post Details