Announcement Announcement Module
Collapse
No announcement yet.
how to set default ResultSet type to TYPE_SCROLL_INSENSITIVE Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to set default ResultSet type to TYPE_SCROLL_INSENSITIVE

    From what I can see Spring JDBC sets the default ResultSet type to ResultSet.TYPE_FORWARD_ONLY in PreparedStatementCreatorFactory. I'd like to change it so all my Spring DAOs get ResultSet.TYPE_SCROLL_INSENSITIVE for all queries.

    Is the best approach to simply extend PreparedStatementCreatorFactory with the new default, and then have all my DAOs use it?

    Thanks.
Working...
X