From 2cc8830a044c8bd4ba00268a0dc2d04690f163a1 Mon Sep 17 00:00:00 2001 From: "Yuan.Wang" Date: Tue, 21 Nov 2023 19:58:51 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-108344=20=E7=94=A8=E6=88=B7=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E8=A2=AB=E8=AE=B0=E5=BD=95=E8=BF=9B=E6=97=A5=E5=BF=97?= =?UTF-8?q?=EF=BC=8C=E6=89=8B=E6=9C=BA=E5=8F=B7=E9=82=AE=E7=AE=B1=E8=A2=AB?= =?UTF-8?q?=E6=98=8E=E6=96=87=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fine-hibernate/README.md | 4 ++++ .../event/internal/AbstractFlushingEventListener.java | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) 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()); } /**