This is an example of code using the spring with mysql, dbcp.