Here is my JPA2 / Hibernate definition:
Code: @Column(nullable = false) private boolean enabled;
In MySql this column is resolved to a bit(
When using Microsoft sql and some versions of mysql use the following:
@Column(name = "eanbled", columnDefinition = "bit default 0", nullable = false) private boolean enabled;
For me, tinybit, boolean, and other such definitions failed.