public final class ModelValidatorEventListener extends Object implements org.hibernate.event.spi.PreInsertEventListener, org.hibernate.event.spi.PreUpdateEventListener
| Constructor and Description |
|---|
ModelValidatorEventListener(javax.validation.ValidatorFactory factory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
onPreInsert(org.hibernate.event.spi.PreInsertEvent event) |
boolean |
onPreUpdate(org.hibernate.event.spi.PreUpdateEvent event) |
public ModelValidatorEventListener(javax.validation.ValidatorFactory factory)
factory - Validator factorypublic boolean onPreInsert(org.hibernate.event.spi.PreInsertEvent event)
onPreInsert in interface org.hibernate.event.spi.PreInsertEventListenerpublic boolean onPreUpdate(org.hibernate.event.spi.PreUpdateEvent event)
onPreUpdate in interface org.hibernate.event.spi.PreUpdateEventListenerCopyright © 2009-2013 IRD. All Rights Reserved.