连接建立没有发生。有人可以帮我吗

时间:2019-08-21 06:54:42

标签: java jdbc driver jdbc-odbc

我不知道如何使用- Login page: The page loads without binding the the value from Viewmodel. And when clicked on Login, app does not crash. It will be still showing the login page - Inner page with service call- Changed the app start page to innerpage to further check what is happening and the issue is that the app does not even start. The page has a service call on start. 。你能帮我建立联系吗?

JdbcOdbcDriver

错误消息:

JdbcOdbcDriver driver = new JdbcOdbcDriver();
DriverManager.registerDriver(driver);
System.out.println(driver);
Connection con = DriverManager.getConnection("jdbc:odbc:oradsn", "nic", "rose");
if (con == null)
    System.out.println("Problem Occured");
else
    System.out.println(con);

0 个答案:

没有答案