I am having two databases which one database executed query output is dependent on other database query ,so how can i handle this could anybody tell me with simple example of spring & hibernate multiple datasources
You want to make sure you are using an XA datasource so that it suppors multiple datasources. Beyond that, it's the same as accessing one database. You call one and get the data. Then you call the other.