datasource « DAO « JPA Q&A





1. DAO with Hibernate(multiple datasources)    coderanch.com

hi guys I am using DAO with hibernate in my persistance layer. but my requirment is such that inside the DAO implimentation class i want to make use of two datasources. thi is my DAO public class TestDaoImpl implements TestDao { public TestReturnVO insertInfo(TestVO testVO) { System.out.println("INSERT INFO INTO TABLE1 OF 'DATABASE1' using Hiberante datasource "); return TRVO; } public TestReturnVO ...