Hi All, i'm working on a small app for my sister's pet grooming business, and i'm using the jDBCSql library, i am able to connect to my remote SQL database, but from time to time the connection gets broken and i get the following error.
I know this has to do because i am not using a ConnectionPool, the problem is that i can't find any reference anywhere in the B4A forum that points me to how to do this, i can find references for B4J but i'm not sure if the same library will work with B4A, or am i using the wrong library to do this?
When I start the app i am able to retrieve records and even insert new records in the Remote Database but if I let the app go to sleep for a minute or so and then if I try to insert a new record or even search a record i get the error above.
Any ideas?
Thanks,
Walter
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
I know this has to do because i am not using a ConnectionPool, the problem is that i can't find any reference anywhere in the B4A forum that points me to how to do this, i can find references for B4J but i'm not sure if the same library will work with B4A, or am i using the wrong library to do this?
When I start the app i am able to retrieve records and even insert new records in the Remote Database but if I let the app go to sleep for a minute or so and then if I try to insert a new record or even search a record i get the error above.
Any ideas?
Thanks,
Walter