Enable c3p0 connection pooling, and set the appname on postgres connections