AbstractRoutingDataSource is very useful feature in spring framework if you do have a design which permits multiple databases based on certain criteria which may change for each user request. An example can be use of database. You can use a particular database when user belongs to certain locale and switch to another locale if user […]
Spring hibernate integration example. Learn to integrate spring 3 and hibernate 4 version. This information may be needed if you are working on legacy code.
This spring hibernate integration tutorial is focused on usage of Hibernate with Spring framework. I will show that how a basic end to end application flow looks like as a result of this integration. 1. Development environment Eclipse Juno IDE JDK 1.7 JBoss 7 Maven Spring 3.0.5 Hibernate 3.6.3 To build this example project, I […]