pattern « Validation « JPA Q&A





1. Validation strategy for the unit of work pattern    stackoverflow.com

When I use the unit of work pattern (with JPA), I get an entity from a repository, modify it and save the modifications at the and of the unit ...

2. MVC pattern for handling validation errors in NHibernate per    forum.hibernate.org

Environment: ASP.Net with NHIbernate2.2, with single session, started on HTTPBeginReuest. Use Case: Post account data to Update action. Validate account and find errors, example, incorrect website url format. Need to show incorrect url on screen to user and show error message. Actual implementation: Once the account object has been retrieved from the database via NHibernate Get, update properties from request object. ...

3. Hibernate validator pattern    forum.hibernate.org