Hey All,
I've been scouring the forums trying to find some examples of using a Connection Pool for a B4J UI application, but while I've found references to "you should be using it", I haven't found anything that tells how. I've downloaded the library files, but there wasn't an example...
I researched several tutorials and posts here on the forum, but I still have questions about best practices for accessing a remote database.
I have in mind an UI application that will be open for hours, sending intermittent reads and writes.
My doubts:
Use GetConnection and ClosePool only...
Trying to follow the jrDC2 Tuturial but can not get past the connection trial using the browser.
I am using the same connection string that I use on my UI program which works fine.
The jrRDC example server is running on my development desktop, the MariaDB10 data base is running on a server on...
This is a wrapper for:
https://github.com/brettwooldridge/HikariCP
It can be used the same way as the ConnectionPool from the jServer library.
Below you will find my implementation of using it with MariaDB/MySQL
Dim cp As HikariCP
cp.Initialize("org.mariadb.jdbc.Driver"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.