Spring destroy-method="close"的作用

destroy-method="close"的作用是当数据库连接不使用的时候,就把该连接重新放到数据池中,方便下次使用调用.

你可能感兴趣的:(spring)