Hi I'm having the following error,also i included the sample code to access my local oracle database. i have oracle on my c:\ drive. Thanks for the help. error: ======================================= java.sql.SQLException: invalid arguments in call at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156) at oracle.jdbc.dbaccess.DBError.check_error(DBError.java:803) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:175) at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:198) at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja va:251) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224) at java.sql.DriverManager.getConnection(DriverManager.java:512) at java.sql.DriverManager.getConnection(DriverManager.java:194) at attemptConnection.main(attemptConnection.java:16) ================================== code: ===============================
[Bodie Minster - Removed the smiley's from the JDBC stuff] [ May 17, 2002: Message edited by: Bodie Minster ] [ Edited by Dave to format code ] [ May 19, 2002: Message edited by: David O'Meara ]
Two things: 1) This question is probably better suited to the JDBC forum. I'll transfer it there. 2) It's tough to tell because you have to include spaces to avoid the smileys, but I don't think you want any spaces in the string you are passing to getConnection().