pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mephysto <mephystoonhell@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Fwd: Postgres JDBC, WS and commit
Date: Mon, 14 May 2012 06:55:25 -0700 (PDT)
Message-ID: <1337003725711-5708644.post@n5.nabble.com> (raw)
In-Reply-To: <c4f8709c29066021e804daaad0284f0a@mail.softperience.eu>
References: <CAC92xsrzAeLRHngP2et3j=bmAAw9M257tdzKr1KN9tfpVm=sGw@mail.gmail.com>
	<1336590679429-5698263.post@n5.nabble.com>
	<CADK3HHKE=4xBa2Ghz2qRB2DSjKtBJRJ_RoR5Ud+=ayDTiL_Tow@mail.gmail.com>
	<CAG0sfBXhPOHs+wwQX+8L870tHE-MHzHrV3==HdN9v18vPUA3XQ@mail.gmail.com>
	<9cec544c4e1685dd4ea0c67b9fa5a537@mail.softperience.eu>
	<1336741691434-5702984.post@n5.nabble.com>
	<1986400.Upn4gYaEoZ@radekdesktop>
	<60775583.hWYqdVicEv@radekdesktop>
	<CAG0sfBV6hzBPnm8CoyKpwipZnGp=gM5nKytwtsWZgr1tCZYbxQ@mail.gmail.com>
	<c4f8709c29066021e804daaad0284f0a@mail.softperience.eu>

Excuse me but I'm really confused, I did many tests, but I'm not sure about
results. If I understand it, using glassfish JDBC connection pool, if a
thread requires a connection to database, glassfish assign one from pool to
thread and commit is executed at the end of thread, not on every stored
function launch.

I would, if it is possible, the commit is executed every write stored
function.

A this point, I would to know if this goal is achievable and if use of
commit that I wand is admissible. Finally, I would to know, why commit is
execute by deafult only one time at the end of thread.

Thanks in advance and excuse me newly.

Mephysto

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Postgres-JDBC-WS-and-commit-tp5697657p5708644.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.



view thread (17+ messages)  latest in thread

Message-ID: <1337003725711-5708644.post@n5.nabble.com>
Permalink:  ../1337003725711-5708644.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1337003725711-5708644.post@n5.nabble.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mephystoonhell@gmail.com
  Subject: Re: Fwd: Postgres JDBC, WS and commit
  In-Reply-To: <1337003725711-5708644.post@n5.nabble.com>
  References: <CAC92xsrzAeLRHngP2et3j=bmAAw9M257tdzKr1KN9tfpVm=sGw@mail.gmail.com> <1336590679429-5698263.post@n5.nabble.com> <CADK3HHKE=4xBa2Ghz2qRB2DSjKtBJRJ_RoR5Ud+=ayDTiL_Tow@mail.gmail.com> <CAG0sfBXhPOHs+wwQX+8L870tHE-MHzHrV3==HdN9v18vPUA3XQ@mail.gmail.com> <9cec544c4e1685dd4ea0c67b9fa5a537@mail.softperience.eu> <1336741691434-5702984.post@n5.nabble.com> <1986400.Upn4gYaEoZ@radekdesktop> <60775583.hWYqdVicEv@radekdesktop> <CAG0sfBV6hzBPnm8CoyKpwipZnGp=gM5nKytwtsWZgr1tCZYbxQ@mail.gmail.com> <c4f8709c29066021e804daaad0284f0a@mail.softperience.eu> <1337003725711-5708644.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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