0
I am trying to connect a java desktop application to a Firebird database and the eclipse console shows the following error: "PM org.firebirdsql.logging.Jullogger warn: WARNING: No Connection Character set specified (Property lc_ctype, encoding, charset or localEncoding), defaulting to Character set NONE".
I’m using Jaybird 4 for java 8 and jdbc 4.2.
Below the method of my connection:
protected boolean conectaLD()
{
{
String driverName = "org.firebirdsql.jdbc.FBDriver";
Class.forName(driverName);
String databaseURL = "jdbc:firebirdsql:192.168.0.32:c:/bdteste/dosimetria.fdb";
con_LD = DriverManager.getConnection(databaseURL,"claudio","alparole");
con_LD.setAutoCommit(false);
stmt_LD = con_LD.createStatement();
stmt_LD2 = con_LD.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
}
catch(java.lang.Exception ex)
{
con_LD = null;
JOptionPane.showMessageDialog(null,""+ex.getMessage(),"1 - Falha ao criar uma Connection :",0);
return false;
}
return true;
}