vendredi 23 octobre 2015

Use MySQL and SQLLite simultaneously

I created a simple SQLLite Connection using Java. Now I want to activate MySQL simultaneously as an option to store the data online.

Is there an easier way than rewriting every method to use the MySQL connection? E.g. create a connection object with both JDBC Drivers at once, so I have only one connection variable?

Aucun commentaire:

Enregistrer un commentaire