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.

Question regarding the sending of passwords via JDBC . . .

843854Jan 9 2002 — edited Apr 2 2004
Hey All,

I'd like to know if the username and password is sent in clear text during the getConnection() JDBC call to connect a client to a database?

I'm using a type 4 driver. Does this mean that the connection protocol is database-dependent and that some databases may allow the sending of passwords to be encrypted?

Thanks for any help.

Peter

Comments

EJP
Whatever the answer to that might be, it's irrelevant, as ResourceBundle will cache it anyway.
Murray9654
Thank you. what I found is it creates New Resource bundle object every time I load the page. Anyway thanks for the information.
EJP
It can't. There is no accessible constructor. What you mean is that it calls ResourceBundle.loadBundle(). But that returns a cached copy if the bundle has already been loaded, as I already told you.
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 30 2004
Added on Jan 9 2002
16 comments
823 views