I guess that an integer null value within a sqlite table is not equivalent to 0 in Java. So how can I check whether the int I extract from my table with
if(resultSet.getInt(columnNumber) != 0){
System.out.println("int is not null");
}
is not null? I do not want to use the sqlite constraint "IS NOT NULL".
Aucun commentaire:
Enregistrer un commentaire