elastic / apm-agent-java

https://www.elastic.co/guide/en/apm/agent/java/current/index.html
Apache License 2.0
567 stars 320 forks source link

add c3p0 to DatabaseMetaDataExclusionList #3619

Closed jackshirazi closed 4 months ago

jackshirazi commented 4 months ago

What does this PR do?

c3p0 is another connection pool that creates a new DB query for metadata.getusername calls, so we'll not make that call when it is the driver. Internal only and no additional test needed (JdbcGetUserNameExclusionTest tests the generic capability for any excluded driver name)

Checklist