SHARE
TWEET

Untitled

a guest Sep 22nd, 2016 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import java.sql.Connection;  
  2. import java.sql.DriverManager;  
  3. import java.sql.SQLException;  
  4.  
  5. public class Disciplina {  
  6.  
  7. private int idDisciplina;  
  8. private String disciplina;  
  9. private float cargaHoraria;  
  10.  
  11. public static void main(String args[]) throws SQLException {  
  12. Connection conexao = DriverManager  
  13. .getConnection("jdbc:mysql://localhost/ucsal");  
  14. System.out.println("Conectado!");  
  15. conexao.close();  
  16. }  
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top