pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedSpring Transactional Support
4+ messages / 2 participants
[nested] [flat]
* Spring Transactional Support
@ 2017-10-11 00:36 Robert Price <rprice314@yahoo.com>
0 siblings, 1 reply; 4+ messages in thread
From: Robert Price @ 2017-10-11 00:36 UTC (permalink / raw)
To: pgsql-jdbc
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.
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Spring Transactional Support
@ 2017-10-11 16:35 Dave Cramer <pg@fastcrypt.com>
parent: Robert Price <rprice314@yahoo.com>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Cramer @ 2017-10-11 16:35 UTC (permalink / raw)
To: Robert Price <rprice314@yahoo.com>; +Cc: pgsql-jdbc
Hi Robert,
Care to elaborate on the question ?
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
On 10 October 2017 at 20:36, Robert Price <rprice314@yahoo.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.
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Spring Transactional Support
@ 2017-10-12 11:32 Dave Cramer <pg@fastcrypt.com>
parent: Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 4+ messages in thread
From: Dave Cramer @ 2017-10-12 11:32 UTC (permalink / raw)
To: rprice314@yahoo.com <rprice314@yahoo.com>; pgsql-jdbc
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@postgresintl.com
www.postgresintl.com
On 11 October 2017 at 23:39, Robert Price <rprice314@yahoo.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@fastcrypt.com> wrote:
> Hi Robert,
>
> Care to elaborate on the question ?
>
> Dave Cramer
>
> davec@postgresintl.com
> www.postgresintl.com
>
> On 10 October 2017 at 20:36, Robert Price <rprice314@yahoo.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.
>
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Spring Transactional Support
@ 2017-10-12 14:57 Dave Cramer <pg@fastcrypt.com>
parent: Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 4+ messages in thread
From: Dave Cramer @ 2017-10-12 14:57 UTC (permalink / raw)
To: Robert Price <rprice314@yahoo.com>; pgsql-jdbc
Spring should still do all the work. It doesn't know what driver is
underneath it.
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
On 12 October 2017 at 10:52, Robert Price <rprice314@yahoo.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@fastcrypt.com>
> *To:* "rprice314@yahoo.com" <rprice314@yahoo.com>; List <
> pgsql-jdbc@postgresql.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@postgresintl.com
> www.postgresintl.com
>
> On 11 October 2017 at 23:39, Robert Price <rprice314@yahoo.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@fastcrypt.com> wrote:
> Hi Robert,
>
> Care to elaborate on the question ?
>
> Dave Cramer
>
> davec@postgresintl.com
> www.postgresintl.com
>
> On 10 October 2017 at 20:36, Robert Price <rprice314@yahoo.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.
>
>
>
>
>
>
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2017-10-12 14:57 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-10-11 00:36 Spring Transactional Support Robert Price <rprice314@yahoo.com>
2017-10-11 16:35 ` Dave Cramer <pg@fastcrypt.com>
2017-10-12 11:32 ` Dave Cramer <pg@fastcrypt.com>
2017-10-12 14:57 ` Dave Cramer <pg@fastcrypt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox