This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fetch lookup data from database during app startup in spring.

sudheshna Iyer
Ranch Hand
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to pre-fetch some constant data like lookups into the memory. For eg: statecode, statedesc into the memory.

What is the best way of doing this in spring? My data resides in DB. My datasource information is mentioned in applicationcontext xml. So I need to retrieve this lookup data after datasource is initialized.

What is the right procedure for achieving this?
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic