問題:
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?還有其他需要考慮的相關因素嗎?