1
|
/**
|
2
|
* Copyright (C) 2009 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
6
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
7
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.cdm.persistence.hibernate;
|
11
|
|
12
|
import org.apache.log4j.Logger;
|
13
|
import org.hibernate.HibernateException;
|
14
|
import org.hibernate.event.spi.SaveOrUpdateEvent;
|
15
|
import org.hibernate.event.spi.SaveOrUpdateEventListener;
|
16
|
|
17
|
|
18
|
|
19
|
public class SaveEntityListener implements SaveOrUpdateEventListener {
|
20
|
private static final long serialVersionUID = -4295612947856041686L;
|
21
|
@SuppressWarnings("unused")
|
22
|
private static final Logger logger = Logger.getLogger(SaveEntityListener.class);
|
23
|
|
24
|
@Override
|
25
|
public void onSaveOrUpdate(SaveOrUpdateEvent event) throws HibernateException {
|
26
|
|
27
|
}
|
28
|
}
|