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!

JDBC 4.0, setClientInfo clarification

User514049-OracleDec 10 2010 — edited Dec 10 2010
All:

The javadoc for setClientInfo(String name, String value) at [Connection.setClientInfo(String name,String value)|http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html#setClientInfo(java.lang.String,%20java.lang.String)] specifies that "... The driver shall generate a warning if the client info name specified is not recognized by the driver. ..."

However, javadoc for setClientInfo(Properties properties) at [Connection.setClientInfo(Properties)|http://download.oracle.com/javase/6/docs/api/java/sql/Connection.html#setClientInfo(java.util.Properties)] is "quiet" on this topic -- what to do if the names are not recognized.

I am wondering if setClientInfo(String name, String value)'s behavior for unrecognized names can be extended to setClientInfo(Properties). It will be great if the specification writers or JDBC driver developers in this forum can chime in on this topic.

With regards,
mp
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2011
Added on Dec 10 2010
1 comment
325 views