Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Mapping A Boolean To 'Y' Or 'N' Using Hibernate

DZone's Guide to

Mapping A Boolean To 'Y' Or 'N' Using Hibernate

·
Free Resource

@org.hibernate.annotations.Type(type = "yes_no")
private boolean deleted;
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}