Subject | Updating Jaybird 1.5.5JDK_1.4 |
---|---|
Author | Francisco - São Paulo - Brazil |
Post date | 2007-01-26T10:49:44Z |
I want to update my Jaybird and I would like to hear something about
what have changed since the version I am using:
My actual scenario is:
Java:
1.6
Firebird:
1.5.0.4306
Jaybird:
Implementation-Version: 1.5.5JDK_1.4 (build: CVSTag=HEAD
date=200412051247)
How I am creating the connection:
public static Connection getConnection() {
Connection c = null;
String path = "";
try {
path = T.setServerPath();
} catch(Exception io){}
String user = T.usuario;
String pwd = T.senha;
String dir_db = "C:\\KOOKY\\SigGraf\\dados\\SIGRAF.FDB";
String url =
"jdbc:firebirdsql://"+path+":3050/"+dir_db+"?lc_ctype=ISO8859_1";
try {
c = java.sql.DriverManager.getConnection(url, user, pwd);
} catch(org.firebirdsql.jdbc.FBSQLException ef) {
ef.printStackTrace();
return null;
} catch(SQLException eee) {
eee.printStackTrace();
return null;
}
return c;
}
I have downloaded now Jaybird 2.1.1 with lots of files, which of them do
I need?
Why jaybird-full-2.1.1.jar is that big now?
Those files in /lib dir are necessary too?
Can I do something to get that connection code better?
Thanks
F.
what have changed since the version I am using:
My actual scenario is:
Java:
1.6
Firebird:
1.5.0.4306
Jaybird:
Implementation-Version: 1.5.5JDK_1.4 (build: CVSTag=HEAD
date=200412051247)
How I am creating the connection:
public static Connection getConnection() {
Connection c = null;
String path = "";
try {
path = T.setServerPath();
} catch(Exception io){}
String user = T.usuario;
String pwd = T.senha;
String dir_db = "C:\\KOOKY\\SigGraf\\dados\\SIGRAF.FDB";
String url =
"jdbc:firebirdsql://"+path+":3050/"+dir_db+"?lc_ctype=ISO8859_1";
try {
c = java.sql.DriverManager.getConnection(url, user, pwd);
} catch(org.firebirdsql.jdbc.FBSQLException ef) {
ef.printStackTrace();
return null;
} catch(SQLException eee) {
eee.printStackTrace();
return null;
}
return c;
}
I have downloaded now Jaybird 2.1.1 with lots of files, which of them do
I need?
Why jaybird-full-2.1.1.jar is that big now?
Those files in /lib dir are necessary too?
Can I do something to get that connection code better?
Thanks
F.