B4J Question Database Connection Pool question

keirS

Well-Known Member
Licensed User
Longtime User
Is it possible to use a c3po-config.xml file to configure the connection pooling? I assume it would go in the files folder if it's possible.
 
Upvote 0
I want to be able set the maxpoolsize as there is a connection limit per user on the DB server I am looking at ;and I don't want to adversely affect the other users in terms of performance.
 
Upvote 0
I want to be able set the maxpoolsize as there is a connection limit per user on the DB server I am looking at ;and I don't want to adversely affect the other users in terms of performance.

Hello keirS.
I would like to ask you if it is correct to close the pool after every transaction!
And then, will the connection be done automatically with BeginTransaction?
Or I have to manually connect it again?

Thank you in advance!
 
Upvote 0
Hello keirS.
I would like to ask you if it is correct to close the pool after every transaction!
And then, will the connection be done automatically with BeginTransaction?
Or I have to manually connect it again?

Thank you in advance!

No. That would defeat the whole point of pooling.
 
Upvote 0
Back
Top