DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Thomas has posted 33 posts at DZone. View Full User Profile

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

06.01.2010
| 6592 views |
  • submit to reddit
        
@org.hibernate.annotations.Type(type = "yes_no")
private boolean deleted;