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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章