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 program to show what to do with it.
I've mostly finished my program and am going through cleaning stuff up. 18 months of learning and the first few modules can use some tweaking. One of the things that's always been annoying was that if I let the program sit overnight, as soon as it tries to hit the database the next morning it blows up. Apparently using a connection pool should stop that. Does anyone have an example B4J program that shows what should be set up first and what the steps are to access the pool, use the connector, then release the pool.
Thanks,
Jim
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 program to show what to do with it.
I've mostly finished my program and am going through cleaning stuff up. 18 months of learning and the first few modules can use some tweaking. One of the things that's always been annoying was that if I let the program sit overnight, as soon as it tries to hit the database the next morning it blows up. Apparently using a connection pool should stop that. Does anyone have an example B4J program that shows what should be set up first and what the steps are to access the pool, use the connector, then release the pool.
Thanks,
Jim