All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.
Properties p = new Properties();
p.setProperty("user", userid);
p.setProperty("password", pwd);
Connection c = DriverManager.getConnection(dburl);
c.setClientInfo(p);
c.connect();
The second option shows the above code and says "There is no setClientInfo or connect method in Connection.", but when I paste it into my IDE c.setClientInfo(p) compiles just fine.