Browse Source

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

Merge in CORE/base-third from ~YUAN.WANG/base-third:release/11.0 to release/11.0

* commit '2cc8830a044c8bd4ba00268a0dc2d04690f163a1':
  REPORT-108344 用户密码被记录进日志,手机号邮箱被明文记录
release/11.0
Yuan.Wang-王垣 12 months ago
parent
commit
ad13e21d71
  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