added timeout, preferredQuery, and connection.provider.class to hibernate.cfg.xml. added hibernate-c3p0 dependency