Fix DBCP-406
Add support for pooling PreparedStatements that use auto-generated keys.
Patch by Steeve Beroard.

git-svn-id: http://svn.apache.org/repos/asf/commons/proper/dbcp@1564688 13f79535-47bb-0310-9956-ffa450edef68
Fix equals() for PStmtKey and remove unnecessary code from sub-class now PStmtKey handles autoGeneratedKeys

git-svn-id: http://svn.apache.org/repos/asf/commons/proper/dbcp@1564702 13f79535-47bb-0310-9956-ffa450edef68
Simplify SQLException creation

git-svn-id: http://svn.apache.org/repos/asf/commons/proper/dbcp@1564704 13f79535-47bb-0310-9956-ffa450edef68
Fix class cast errors and make it harder to create a similar issue in the future

git-svn-id: http://svn.apache.org/repos/asf/commons/proper/dbcp@1564763 13f79535-47bb-0310-9956-ffa450edef68