$V2EX
Solana
Give SOL to Copy Address
使用 SOL 向 DreamSaddle 打赏,数额会 100% 进入 DreamSaddle 的钱包。
 DreamSaddle's recent timeline updates
DreamSaddle

DreamSaddle

V2EX member #520782, joined on 2020-11-27 09:19:13 +08:00
Per DreamSaddle's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
DreamSaddle's recent replies
大佬,求激活码,谢谢! Base64:aGdnMDEwQG91dGxvb2suY29t
支持独立开发
Nov 10, 2023
Replied to a topic by Masami7 程序员 毕业设计想要做一个网盘
优势:比某度网盘下载速度快上那么一些。
Nov 3, 2023
Replied to a topic by DreamSaddle Java 请教一个 SpringJPA+Hibernate+QueryDSL 的问题
@zhenjiachen #7 我尝试过在 EnableJpaRepositories 注解添加 bootstrapMode = BootstrapMode.DEFERRED ,添加后在 RepositoryFactoryBeanSupport 类中能发现识别到了需要 lazyInit ,但是在实际启动过程中,就是在初始化 Repository Bean 实例时还是每次都调用了 RepositoryFactoryBeanSupport#getObject() 方法,实际上就没有实现 lazyInit 的效果了。
Nov 3, 2023
Replied to a topic by DreamSaddle Java 请教一个 SpringJPA+Hibernate+QueryDSL 的问题
项目启动的时候,相当于每一个 Repository 接口都会走一遍 RepositoryFactoryBeanSupport#afterPropertiesSet() 方法,就是在这个方法最后面判断了 LazyInit ,但是一直不生效。
Nov 3, 2023
Replied to a topic by DreamSaddle Java 请教一个 SpringJPA+Hibernate+QueryDSL 的问题
@zhenjiachen #4 我有一千多个 Repository 接口呀,肯定不能每个都去加吧。
如果是使用配置来统一实现懒加载,我尝试过,但是没有成功。
我看过说是这个懒加载只支持存在一个数据源的情况下生效,我项目里有用 redis ,好像就是因为这样造成的懒加载不生效的。
Nov 3, 2023
Replied to a topic by DreamSaddle Java 请教一个 SpringJPA+Hibernate+QueryDSL 的问题
@sky857412 #2 我调试过,启动的时候应该是会为每个实体的 Repository 生成代理,就是这个过程比较慢,加上项目里实体过多。
Nov 3, 2023
Replied to a topic by DreamSaddle Java 请教一个 SpringJPA+Hibernate+QueryDSL 的问题
项目启动后,日志里很多 tor$SharedEntityManagerInvocationHandler : Creating new EntityManager for shared EntityManager invocation ,一直在执行这边的。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3040 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 14:03 · PVG 22:03 · LAX 07:03 · JFK 10:03
♥ Do have faith in what you're doing.