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.
精彩评论