Skip to content

Instantly share code, notes, and snippets.

iXo

Block or report user

Report or block iXo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@iXo
iXo / SGBeanPersistController.java
Last active Dec 16, 2015 — forked from domdorn/SGBeanPersistController.java
New version that remove Ebean entity bean classname that prevent to invoke 'postUpdate'
View SGBeanPersistController.java
package models.sgcore;
import com.avaje.ebean.event.BeanPersistAdapter;
import com.avaje.ebean.event.BeanPersistRequest;
import javax.annotation.PreDestroy;
import javax.persistence.*;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.HashMap;
You can’t perform that action at this time.