Browse Source

REPORT-108344 用户密码被记录进日志,手机号邮箱被明文记录

release/11.0
Yuan.Wang 1 year ago
parent
commit
2cc8830a04
  1. 4
      fine-hibernate/README.md
  2. 4
      fine-hibernate/src/main/java/com/fr/third/org/hibernate/event/internal/AbstractFlushingEventListener.java

4
fine-hibernate/README.md

@ -7,3 +7,7 @@
- hibernate-entitymanager
- hibernate-java8
- hibernate-jpamodelgen
定制:
REPORT-108344: debug日志级别,hibernate会打印出entity信息,没找到控制项,屏蔽一下相关代码

4
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());
}
/**

Loading…
Cancel
Save