I have a SQLite Datatable with string value as id and a BLOB value for a picture.
I want to know if some entry with a specific id exists in the table.
Qu
JDBC type: 0
means Null
in java.sql.Types
. The resultSet
must contains null value, but hibernate could not support this datatype for SQLite. So you should set this mapping in your customize at.beko.rainstar2.dialect.SQLiteDialect
.
public class SQLiteDialect extends Dialect {
public SQLiteDialect() {
super();
...
...
...
registerColumnType(Types.NULL, "null");
registerHibernateType(Types.NULL, "null");
}
...
...
}