Subject | connection problem |
---|---|
Author | Shiryov Boris |
Post date | 2005-02-01T11:28:38Z |
Hi,
Today, trying to get connection with remote server
Connection c = java.sql.DriverManager.getConnection(
"jdbc:firebirdsql:delta:/usr/data/prz1.gdb", "boris",
"123");
I recieve exception:
java.lang.RuntimeException: Cannot get the value for this argument type as a string
at org.firebirdsql.jgds.ParameterBufferBase$Argument.getValueAsString(ParameterBufferBase.java:187)
at org.firebirdsql.jgds.ParameterBufferBase.getArgumentAsString(ParameterBufferBase.java:66)
at org.firebirdsql.jca.FBConnectionRequestInfo.getStringProperty(FBConnectionRequestInfo.java:86)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:145)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at boris.test.Test6.main(Test6.java:115)
Exception in thread "main"
.. but when I connect with login 'sysdba' everything goes ok.
Firebird 1.5.2 linux
Jaybird 1.5.5, 1.5.4 (pure java)
Boris
[Non-text portions of this message have been removed]
Today, trying to get connection with remote server
Connection c = java.sql.DriverManager.getConnection(
"jdbc:firebirdsql:delta:/usr/data/prz1.gdb", "boris",
"123");
I recieve exception:
java.lang.RuntimeException: Cannot get the value for this argument type as a string
at org.firebirdsql.jgds.ParameterBufferBase$Argument.getValueAsString(ParameterBufferBase.java:187)
at org.firebirdsql.jgds.ParameterBufferBase.getArgumentAsString(ParameterBufferBase.java:66)
at org.firebirdsql.jca.FBConnectionRequestInfo.getStringProperty(FBConnectionRequestInfo.java:86)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:145)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at boris.test.Test6.main(Test6.java:115)
Exception in thread "main"
.. but when I connect with login 'sysdba' everything goes ok.
Firebird 1.5.2 linux
Jaybird 1.5.5, 1.5.4 (pure java)
Boris
[Non-text portions of this message have been removed]