HACKER
TALK
Home
Channels
beta
Bookmarks
Messages
Notifications
Sign In
Comment
想问下站长为什么用 JPA 不用 mybatis?
看了下技术栈,是用 querydsl jpa 做的? 为什么不用 mybatis,SQL 写起来不是更灵活吗? :openmouth:
HD Superman
·
3 years ago
Across the Great Wall, we can reach every corner in the world.
另外如果遵循
CQRS
,mybatis 也是不错的,可以用在读方面,写数据还是严格的 JPA 模型,保证丰富查询需求的同时领域模型不会崩。
Reply
Report
HD Superman
Joined 3 years ago
Across the Great Wall, we can reach every corner in the world.
github.com/hdsuperman
Follow
Message