W
Warm
Unregistered / Unconfirmed
GUEST, unregistred user!
我用JDBC与Oracle直接连接,源程序如下:
try
{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
}catch(Exception classException)
{
return;
}
try
{
Connection conn=DriverManager.getConnection("jdbcracle:thin192.181.1.30:1521:ORCL","user","psw");
}catch(Exception ex)
{
system.out.println("Connection Error:"+ex.getMessage());
return;
}
....
结果始终报错,错误为
Connection Error:Exceding key size
不知是怎么回事,而我的服务器IP地址、用户名、密码都是正确的。
try
{
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
}catch(Exception classException)
{
return;
}
try
{
Connection conn=DriverManager.getConnection("jdbcracle:thin192.181.1.30:1521:ORCL","user","psw");
}catch(Exception ex)
{
system.out.println("Connection Error:"+ex.getMessage());
return;
}
....
结果始终报错,错误为
Connection Error:Exceding key size
不知是怎么回事,而我的服务器IP地址、用户名、密码都是正确的。