• Post Reply Bookmark Topic Watch Topic
  • New Topic

Use of org.springframework.jdbc.core.JdbcTemplate  RSS feed

 
Gemini Moses
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using org.springframework.jdbc.core.JdbcTemplate

How do I call following Oracle SQL

String query = "SELECT name, dob FROM emp FOR UPDATE of name";

Can I be use -

jdbcTemplate.query(query).

my dataSource is in autoCommit mode.

Please advise!

Thanks

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!