Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Connection;
- import java.sql.Connection;
- import java.sql.DriverManager;
- public class Conexao {
- public Connection conectar() throws Exception{
- return DriverManager.getConnection
- ("jdbc:oracle:thin:@oracle.fiap.com.br:1521:ORCL",
- "RM74835","201197");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement