General discussion


Thin driver data encryption and integrity

By cutman26 ·
I am having problem with connecting to my database using the JDBC thin driver's Advanced Security features.
Sample of my code:

Properties securityPro = new Properties();
securityPro.put("", "REQUIRED");
securityPro.put("", "( DES40C )");
securityPro.put("", "REQUESTED");
securityPro.put("", "( MD5 )");
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection con = DriverManager.getConnection(dbName, securityPro);

java.sql.SQLException: invalid arguments in call

at oracle.jdbc.dbaccess.DBError.throwSqlException(

at oracle.jdbc.dbaccess.DBError.throwSqlException(

at oracle.jdbc.dbaccess.DBError.check_error(

at oracle.jdbc.ttc7.TTC7Protocol.logon(

at oracle.jdbc.driver.OracleConnection.<init>(

at oracle.jdbc.driver.OracleDriver.getConnectionInstance(

at oracle.jdbc.driver.OracleDriver.connect(

at java.sql.DriverManager.getConnection(

at java.sql.DriverManager.getConnection(

From the documentation, it seems very simple to use. However, it is not working for me yet. Could anyone help me? Thanks

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to Web Development Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums