public class HibernateTransactionListener extends Object implements PipelineListener
| Constructor and Description |
|---|
HibernateTransactionListener(org.hibernate.Session session)
Create a Hibernate transaction listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterRecordProcessing(Record inputRecord,
Record outputRecord) |
Record |
beforeRecordProcessing(Record record) |
void |
onRecordProcessingException(Record record,
Throwable throwable) |
public HibernateTransactionListener(org.hibernate.Session session)
session - the Hibernate sessionpublic Record beforeRecordProcessing(Record record)
beforeRecordProcessing in interface PipelineListenerpublic void afterRecordProcessing(Record inputRecord, Record outputRecord)
afterRecordProcessing in interface PipelineListenerpublic void onRecordProcessingException(Record record, Throwable throwable)
onRecordProcessingException in interface PipelineListenerCopyright © 2017. All Rights Reserved.