pessoal estou vendo uma apostila de JAVA
bom...
estou usando netbeans e firebird como banco
estou fazendo fazendo uma classe de conexão
mas na apostila esta explicando com mysql
estou com duvida no seguinte código
this.config = ResourceBundle.getBundle("DAO.conf_mysql")
dentro das aspas como ficaria para o firebird?
resto do código:
package DAO;
import java.sql.Connection;
import java.sql.DriverManager;
import java.util.ResourceBundle;
public class ConexaoIMP implements Conexao {
private final String url;
private final String driver;
private final String usuario;
private final String senha;
private final ResourceBundle config;
public ConexaoIMP(){
this.config = ResourceBundle.getBundle("DAO.conf_")
}
@Override
public Connection ConectaDB() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
@Override
public void CloseDB(Connection con) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
}
obrigado desde já!