问题:
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?还有其他需要考虑的相关因素吗?