AnsweredAssumed Answered

Bb Learn Building Blocks DB connection will never release?

Question asked by zhou.yinghui on May 12, 2016
Latest reply on May 16, 2016 by Alberto Ruiz

we have below code:

 

conn=DatabaseContainer.getDefaultInstance().getBbDatabase().getConnectionManager().getConnection();

 

we didn't call the close() method to release the connection, is there any duration that the connection will automatically closed ? or will NEVER be closed?

 

the reason i ask is our number of connection increased everyday and the reach 200 and make the connection pool exhausted.

 

Is that true?

 

If this is the case, how can we handle this? if my understanding is correct, Bb Learn session will logout automatically after 3 hours,

 

can you guide me what is the relationship between this session and connection?

 

Thanks

Kevin

Outcomes