This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have to display columns from two tables using HibernateDAO. The information to connect to the second table is stored in the first table. How can I use the host,username and password stored in one table to connect to another table and display columns from both the tables in one page?