Example usage for org.hibernate.classic Lifecycle NO_VETO

List of usage examples for org.hibernate.classic Lifecycle NO_VETO

Introduction

In this page you can find the example usage for org.hibernate.classic Lifecycle NO_VETO.

Prototype

boolean NO_VETO

To view the source code for org.hibernate.classic Lifecycle NO_VETO.

Click Source Link

Document

Return value to accept the action (false)

Usage

From source file:org.transitime.db.structs.ArrivalDeparture.java

License:Open Source License

/**
 * Implemented due to Lifecycle interface being implemented. Not actually
 * used./*from  w  ww  .  j a  v  a2 s .c  o m*/
 */
@Override
public boolean onSave(Session s) throws CallbackException {
    return Lifecycle.NO_VETO;
}

From source file:org.transitime.db.structs.ArrivalDeparture.java

License:Open Source License

/**
 * Implemented due to Lifecycle interface being implemented. Not actually
 * used.// www.j a v  a 2s.  c o  m
 */
@Override
public boolean onUpdate(Session s) throws CallbackException {
    return Lifecycle.NO_VETO;
}

From source file:org.transitime.db.structs.ArrivalDeparture.java

License:Open Source License

/**
 * Implemented due to Lifecycle interface being implemented. Not actually
 * used.//from  w  w w  . j a  va2 s.c o m
 */
@Override
public boolean onDelete(Session s) throws CallbackException {
    return Lifecycle.NO_VETO;
}