Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.sql.*;
- public class Controler {
- Connection conn;
- Controler () throws SQLException {
- try {
- conn = DriverManager.getConnection("jdbc:postgresql://localhost:5432/chat", "nastia", "1qazxsw2");
- }
- catch (SQLException e) {
- throw e;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement