开发者

Spring JDBCTemplate on Seam-based app

开发者 https://www.devze.com 2023-02-06 23:35 出处:网络
When manual SQL is required (JDBC API with pre-written queries), what is the best approach in a Seam-based application ?

When manual SQL is required (JDBC API with pre-written queries), what is the best approach in a Seam-based application ?

In Seam Documentation, use of Spring bridge to 开发者_如何转开发inject a Spring JDBCTemplate is defined as the most complex to setup, but the easiest for development.

Do you agree with that ?


You could also use EntityManagers createNativeQuery() method. So you don't need spring perform native queries in a seam application.

0

精彩评论

暂无评论...
验证码 换一张
取 消