I am developing an API to access database[only selects]using hibernate.
I want to make this API to be able to receive the applicationContext as parameter to the API which includes datasource...