There is a table in DB(Oracle) which stores "code" and its "Description". I need to load this table data during my application startup and store it in a variable (probably a Map object) so that I can look up the description of the code for each request without hitting the DB for every request. What would be the best way to do this?
Application is a standalone Java application based on Spring framework.
Thanks.