Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
create: async () => {
await initMvn(config.customClassPath);
if (!this.jdbcProps) {
this.jdbcProps = this.getJdbcProperties();
}
const getConnection = promisify(DriverManager.getConnection.bind(DriverManager));
return new Connection(await getConnection(this.config.url, this.jdbcProps));
},
destroy: async (connection) => {