Frist, please use real words when posting to the forums. Abbreviations such as "plzzz" in place of "please" only serve to make your posts more difficult to read and less likely to generate useful responses.
Do you really want to use JDBC for it? Well, how to do it is fairly obvious. Connect the one, execute the query to get the results and then connect the other, execute the query to insert the results.
How and where exactly are you stucking while implementing this? That's the question of interest.
Post by:autobot
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
a bit of art, as a gift, the permaculture playing cards