terrymanu edited a comment on issue #1620: what is the lifecycle of hint
URL: 
https://github.com/apache/incubator-shardingsphere/issues/1620#issuecomment-466277544
 
 
   > for 2. User call `connection.close()`, it is another bug,db connection is 
managed by pool too,connection.close() should not be called when the db 
connection retrieved
   
   As I said before: Sharding-JDBC do not care the connection is closed or hold 
by pool, it just care the connection is closed logically.
   
   When user call `close` method, Sharding-JDBC will call `close` method of all 
data sources which it managed(for pool, it returned to pool; for raw jdbc, it 
closed, but it doesn't matter)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to