Simplified access and configuration of database with spring and hibernate4.