Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args) {
- //PARAMETROS("jdbc:derby://host:port//DB;user=?;password=?");
- Connection conn = null;
- try {
- conn = DriverManager.getConnection("jdbc:derby://localhost:1527/TESTE","root","root");
- System.out.println("Conectado com sucesso...");
- } catch (SQLException ex) {
- System.out.println("Problema de conexao: " + ex);
- }
- //Statement sql = conn.createStatement();
- }
Add Comment
Please, Sign In to add comment