diff --git a/fine-hibernate/README.md b/fine-hibernate/README.md index ddd53171e..d78cf61b0 100644 --- a/fine-hibernate/README.md +++ b/fine-hibernate/README.md @@ -7,3 +7,7 @@ - hibernate-entitymanager - hibernate-java8 - hibernate-jpamodelgen + + +定制: +REPORT-108344: debug日志级别,hibernate会打印出entity信息,没找到控制项,屏蔽一下相关代码 diff --git a/fine-hibernate/src/main/java/com/fr/third/org/hibernate/event/internal/AbstractFlushingEventListener.java b/fine-hibernate/src/main/java/com/fr/third/org/hibernate/event/internal/AbstractFlushingEventListener.java index b8d82aeb0..45c740a14 100644 --- a/fine-hibernate/src/main/java/com/fr/third/org/hibernate/event/internal/AbstractFlushingEventListener.java +++ b/fine-hibernate/src/main/java/com/fr/third/org/hibernate/event/internal/AbstractFlushingEventListener.java @@ -117,9 +117,7 @@ public abstract class AbstractFlushingEventListener implements Serializable { session.getActionQueue().numberOfCollectionRemovals(), persistenceContext.getCollectionEntries().size() ); - new EntityPrinter( session.getFactory() ).toString( - persistenceContext.getEntitiesByKey().entrySet() - ); + //new EntityPrinter( session.getFactory() ).toString(persistenceContext.getEntitiesByKey().entrySet()); } /**