Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

@Column boolean yes_no type

843830Nov 20 2006
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?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 18 2006
Added on Nov 20 2006
0 comments
254 views