What is the way to setup Database configuration inside java bean class in spring? : <p>I want to setup my DB related configuration inside java configuration bean class. Can someone help me with simple sample of code with related annotations.</p>
