JPA 与 Spring JdbcTemplate [关闭] - JPA vs Spring JdbcTemplate [closed]

问题:

Closed . 关闭 This question needs to be more focused . 这个问题需要更加集中 It is not currently accepting answers. 它目前不接受答案。

Want to improve this question?想改善这个问题吗? Update the question so it focuses on one problem only by editing this post .更新问题,使其仅通过编辑这篇文章来关注一个问题。

Closed last year .去年关闭。

For a new project is JPA always the recommended tool for handling relational data or are there scenarios where Spring JdbcTemplate is a better choice?对于新项目,JPA 始终是处理关系数据的推荐工具,还是存在 Spring JdbcTemplate 是更好选择的场景? Some factors to consider in your response:在您的回复中需要考虑的一些因素:

  • new database schema vs pre-existing schema and tables新的数据库架构与预先存在的架构和表
  • level of developer expertise开发人员的专业水平
  • ease with which can integrate with a data caching layer易于与数据缓存层集成
  • performance表现
  • any other relevant factors to consider?还有其他需要考虑的相关因素吗?

解决方案:

参考: https://stackoom.com/en/question/JBtn
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章