OK. When one Light turn on, another Lights turn on too. I 've looking for another solutions, and find this:
Use the @Qualifier Annotation on the method that inject the sessionFactory:
...
Type: Posts; User: jose_ea; Keyword(s):
OK. When one Light turn on, another Lights turn on too. I 've looking for another solutions, and find this:
Use the @Qualifier Annotation on the method that inject the sessionFactory:
...
Well. Finally I resolved my problem with this way:
First: add another dataSource and sessionFactory.
Second: add in the end of conf of hibernate a bean to every DAO that use another...
Well. I've a aplication that should access to two databases. At this time my configuration only can access to one database ( like example: personal) but I've access to another database and I want to...
Hello everybody
Someone know how to add a another datasource in hibernate configuration and how to configure Spring to that datasource its autoinject in my respective DAO?
This is my code...