Ip 74

IP-74 tries to do three things: a) address connection pool issues (basis for the ticket), standardize (a bit) the JPA configuration for the portlet, and c) fix a hibernate configuration in Attachments.java to address an issue being see in USD, per James Wennmacher.