From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Robert Price <rprice314(at)yahoo(dot)com>, List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Spring Transactional Support |
Date: | 2017-10-12 14:57:59 |
Message-ID: | CADK3HH+pkpaKCijj27WgRWFYPWSaBb=xyKwbinp58qZ9QXys-g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Spring should still do all the work. It doesn't know what driver is
underneath it.
Dave Cramer
davec(at)postgresintl(dot)com
www.postgresintl.com
On 12 October 2017 at 10:52, Robert Price <rprice314(at)yahoo(dot)com> wrote:
> Ok thanks will give a shot then. It is a spring boot project and we are
> using jdbc for db queries so not using hibernate.
>
>
> ------------------------------
> *From:* Dave Cramer <pg(at)fastcrypt(dot)com>
> *To:* "rprice314(at)yahoo(dot)com" <rprice314(at)yahoo(dot)com>; List <
> pgsql-jdbc(at)postgresql(dot)org>
> *Sent:* Thursday, October 12, 2017 6:33 AM
> *Subject:* Re: [JDBC] Spring Transactional Support
>
> Well I don't think the driver itself has any issue with this, nor does it
> care about the annotation. This is all hibernate AFAIK ?
>
> Dave Cramer
>
> davec(at)postgresintl(dot)com
> www.postgresintl.com
>
> On 11 October 2017 at 23:39, Robert Price <rprice314(at)yahoo(dot)com> wrote:
>
> Yeah I was thinking of using the @transactional annotation to do
> transactions in postgres and wanted to verify that postgres supported this
> annotation. Use case would be to set session variables and then use a table
> filter that referenced the session variables. Requires multiple queries to
> be run in the same session/transaction
>
> Sent from Yahoo Mail on Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
>
> On Wed, Oct 11, 2017 at 11:35 AM, Dave Cramer
> <pg(at)fastcrypt(dot)com> wrote:
> Hi Robert,
>
> Care to elaborate on the question ?
>
> Dave Cramer
>
> davec(at)postgresintl(dot)com
> www.postgresintl.com
>
> On 10 October 2017 at 20:36, Robert Price <rprice314(at)yahoo(dot)com> wrote:
>
> Seeing conflicting information and wanted to confirm that the
> transactional annotation was supported by sping jdbc. Also wanted to see if
> anyone had attempted to set session variables in postgres before executing
> a query.
>
>
>
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Philippe Marschall | 2017-10-19 11:35:00 | [pgjdbc/pgjdbc] 0d918c: test: add ubenchmark for UTF-8 decoding (#988) |
Previous Message | Dave Cramer | 2017-10-12 11:32:54 | Re: Spring Transactional Support |