Unix Technical Forum

database auto-commit

This is a discussion on database auto-commit within the Pgsql General forums, part of the PostgreSQL category; --> hi i writing a j2ee application working with postgresql and i meet a problem with autocommit from my j2ee ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql General

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 09:12 PM
FERREIRA, William
 
Posts: n/a
Default database auto-commit


hi

i writing a j2ee application working with postgresql and i meet a problem with autocommit
from my j2ee application i call a perl function and i get an error :
in french : Les Large Objects ne devraient pas être utilisés en mode auto-commit.
in english : Large Objects should not be used in mode auto-committed.

and i didn't find how to disable autocommit.

Thanks in advance

William

This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message.

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 09:21 PM
Jim C. Nasby
 
Posts: n/a
Default Re: database auto-commit

IIRC there is no autocommit in postgresql itself, so the autocommit is
probably from whatever connection library/method you're using. Note that
PSQL does have an autocommit option, but I don't see how that would
affect this case.

On Tue, May 31, 2005 at 03:12:26PM +0200, FERREIRA, William (COFRAMI) wrote:
>
> hi
>
> i writing a j2ee application working with postgresql and i meet a problem with autocommit
> from my j2ee application i call a perl function and i get an error :
> in french : Les Large Objects ne devraient pas ?tre utilis?s en mode auto-commit.
> in english : Large Objects should not be used in mode auto-committed.
>
> and i didn't find how to disable autocommit.
>
> Thanks in advance
>
> William
>
> This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>


--
Jim C. Nasby, Database Consultant decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:07 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com