I'm modifying a stand alone Spring 3.0.6 application that uses JDBCTemplate. The main problem is that I have to extract information from two different Oracle databases for which I created 2 Datasources:
- Added the 2 datasources in an applicationContext.xml.
- Created an interface that serves a DAO with 2 final String variables with SQL statements to call the stored procedures and the methods to return the resultsets.
- Created an implementation class for the DAO in order to execute the stored procedures.
What I have no idea how to do is to get the resultset from the 2 methods and merge them into a single resultset so I can present the result as a final report.