Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Connection c = DriverManager.getConnection(
- "jdbc:postgresql://localhost:5432/Courses","postgres", "password");
- Statement s = c.createStatement();
- ResultSet rs = s.executeQuery("SELECT * from Courses");
- ResultSetMetaData md = rs.getMetaData();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement