public class InterceptorCreationHook extends java.lang.Object implements DBCreationHook
构造器和说明 |
---|
InterceptorCreationHook() |
限定符和类型 | 方法和说明 |
---|---|
void |
onCreateSessionFactory(DBCreationOption creationOption,
com.fr.third.org.hibernate.cfg.Configuration configuration)
创建hibernate的SessionFactory前
|
public void onCreateSessionFactory(DBCreationOption creationOption, com.fr.third.org.hibernate.cfg.Configuration configuration)
DBCreationHook
onCreateSessionFactory
在接口中 DBCreationHook
creationOption
- DBContext内部创建时的配置参数configuration
- hibernate配置