how to add boolean fields in java model class through hibernate annotations.
I am doing this and its shows me error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Like bit' at line 2
My code:
@Column(name="Like")
private boolean like;
@Column(name="Dislike")
private boolean dislike;
@Column(name="Flag")
private boolean flag;