Jargon96 commented on issue #5549: URL: https://github.com/apache/skywalking/issues/5549#issuecomment-698125134
> No, this seems not a right process. The pool should be initialized in the bootstrap stage, and only get and return/close in the process. > If you are not familiar with the connection pool, why do you try to build a connection pool tracing plugin? I apologize for the lack of project experience, I am a student participant in Open Source Promotion Plan-Summer 2020. >_< > I think you don't understand how the JDBC works, `close` could be called anytime if the connection wants to. We build the operation name of MySQL span like this `return connectionInfo.getDBType() + "/JDBI/" + statementName + "/" + methodName;`. Thank you, sir. I'm a little confused if connection is borrowed from pool, connection should not close twice when borrow connection from pool only once(forgive me. maybe my question is also beacuse I don't understand how the JDBC works) thanks for your time! ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
