Announcement Announcement Module
No announcement yet.
Storing sql statements in one .properties file Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Storing sql statements in one .properties file

    We are migrating our current existing code off from Struts (finally!) to Spring. We currently have a couple of *.properties files where we keep a 'repository' of all sql statements referenced by a name. On the programmatic side, we would just call that reference name to pull out the sql statement.

    Is there a clean way about doing this in Spring? I'm also open to possible design alternative/approaches at the moment. However, keeping all sql statement within one place would be our best interest in heart.