Do you mind trying the following?
Add this to DBConfiguration.xml
:
<bean id="getEmployeeDetails"
class="com.example.hibernate.dao.GetEmployeeDetails" />
And change the flow to:
<component>
<spring-object bean="getEmployeeDetails"/>
</component>