On Thu, Jun 5, 2008 at 8:44 AM, John Krasnay <[EMAIL PROTECTED]> wrote:
> You are not closing your JDBC connections, and are therefore you are
> running out of connections in your connection pool.

Yep, probably something like that.

> I would STRONGLY advise against using raw JDBC. You have no idea how
> difficult it is to correctly clean up after JDBC. At the very least look
> into Spring's JdbcTemplate class, and if you're doing serious work
> invest in learning Hibernate.

Or consider looking at iBatis (http://ibatis.apache.org/), which let's
you stay closer to JDBC, but has a bunch of nice code-saving features,
and will probably handle stuff like this better as well.

Eelco

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to