i use the reverse engeneering in my class and get this:
@Entity @Table(name = \"user\", catalog = \"bytecode\", uniqueConstraints = @UniqueConstraint(columnN
Hibernate has a special numeric_boolean type for this kind of mapping. You can configure it as follows:
numeric_boolean
@Type(type = "numeric_boolean") private boolean type;
See also: