example for spring4+hibernate4