@Column boolean yes_no type
In Hibernate I could specify that a legacy database used 'Y' and 'N' for a boolean attribute by setting the type="yes_no"
Is there a way I specify this using JPA annotations?
Is there a similar User or Custom type facility where I could create my own?