I wish to use Apache Derby 10.7 as my DBMS. Previous releases of Derby did not support a BOOLEAN data type, causing Hibernate to map booleans to 'smallint'. Release 10.7 now supports BOOLEAN, so how hard is it to subclass org.hibernate.dialect.DerbyDialect to get Hibernate to utilise BOOLEAN? I had a look at the Javadoc but I am not sure where to start