codice:public Connection setDbConnection(String host, String port,String dbName,String user, String pwd, String transactionIsolationLevel, String paramsIsolationLevel ) throws ClassNotFoundException, SQLException{ Class.forName(org.firebirdsql.jdbc.FBDriver.class.getName()); String strDriver = "jdbc:firebirdsql:"+host+"/"+port+":"+ dbName; this.conn = DriverManager .getConnection( strDriver , setDBProperties(user, pwd, paramsIsolationLevel, paramsIsolationLevel)); System.out.println("Connessione avvenuta"); return this.conn; }

Rispondi quotando
