It is the documentation of the j-connector. Most probably you´ll find the info there on how to add the parameter you want to add.I need to know how can I Add this in your lib
It is the documentation of the j-connector. Most probably you´ll find the info there on how to add the parameter you want to add.I need to know how can I Add this in your lib
It is the documentation of the j-connector. Most probably you´ll find the info there on how to add the parameter you want to add.
if you are using my lib you ARE using the connector. It is the big jar in your additional libs folder.But how can I use the j-connector and your lib ?
I understand, then I can Edit this JAR and make the changes..if you are using my lib you ARE using the connector. It is the big jar in your additional libs folder.
My lib is just a wrapper to use this connector in b4a
I understand, then I can Edit this JAR and make the changes..
I need Eclipse or some other editor or soft to edit this JAR ?
How can I modify the Source code ?
You don't need the source code. You append it to the DB name so your database parameter becomes "MyDBName?zeroDateTimeBehaviour= convertToNull'
You don't need the source code. You append it to the DB name so your database parameter becomes "MyDBName?zeroDateTimeBehaviour= convertToNull'
AUTO RECONNECT: Unable to re-establish database connection, please try agian later.
SqlException: java.sql.SQLException: No database selected
My guess is to add it to the HOST as i wrote earlier
Hi Friend,
This doesn't work
In DataBase parameter, only works the real Database name...
I receive this error
B4X:AUTO RECONNECT: Unable to re-establish database connection, please try agian later.
B4X:SqlException: java.sql.SQLException: No database selected
Add the ?zeroDateTimeBehavior=convertToNull to the HOST parameter.DonManfred should be able to advise you where to put it.
i dont know. Never tried it as i have no Microsoft azure account....You can access mysql microsoft azure
Sorry it should be "?zeroDateTimeBehavior=convertToNull". I am British so spell Behaviour the correct way
The complete JDBC URL should look like "jdbc:mysql://localhost:3306/mydb?zeroDateTimeBehavior=convertToNull" so DonManfred should be able to advise you where to put it.
Add the ?zeroDateTimeBehavior=convertToNull to the HOST parameter.
Before:
Host = somedomain.net:3301
After = somedomain.net:3301?zeroDateTimeBehavior=convertToNull
or for the default port 3306
Host = somedomain.net
After = somedomain.net?zeroDateTimeBehavior=convertToNull
I GUESS-never tried it