try {
this.host = "jdbc:derby://localhost:1527/EMRE";
this.Name = "emre";
this.Pass = "2561";
Connection con = DriverManager.getConnection(host,Name,Pass);
Statement cumle = con.createStatement();
cumle.executeUpdate("INSERT INTO P_LOGIN " + " (SIFRE, KULLANICI_ADI, ROLE)" + " VALUES ('"+txtAddUserPassWord.getText()+"','"+txtAddUserName.getText()+"','"+cmbAddUserRole.getSelectedItem()+"')");
}
catch (SQLException ex) {
JOptionPane.showMessageDialog(null, ex);
}
Thanks to TorstenH. and Rajesh.