Re: Spring JDBC and the PostgreSQL JDBC driver

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Spring JDBC and the PostgreSQL JDBC driver
Date: 2014-04-03 21:22:39
Message-ID: 533DD11F.4070705@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 4/3/2014 1:31 PM, Matthew Chambers wrote:
> This removes all the boilerplate associated with old style JDBC. It
> also means you get great reuse of your SQL code since the transaction
> starts at the entry point. Most of my SQL related code is just 1
> liners using Springs JdbcTemplate class. I've written some massive
> applications with this style. My current postgres project sees about
> 4gbps of traffic during peak times and there is not an explicit
> begin/commit in the entire code base.

so how does the OP use Jdbc4Array.getArray() on an object returned from
a Spring execute if Spring has automagically released/closed the connection?

--
john r pierce 37N 122W
somewhere on the middle of the left coast

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Merlin Moncure 2014-04-03 21:28:44 Re: SSD Drives
Previous Message Matthew Chambers 2014-04-03 20:31:27 Re: Spring JDBC and the PostgreSQL JDBC driver