|
|
Sponsor |
Re: Help - lo_close: invalid large obj descriptor: msg#00262db.postgresql.jdbc
On Wed, Aug 27, 2003 at 12:36:24PM -0700, Barry Lind wrote: > Toby, > > You need to have autocommit turned off in order to use large objects. > If I add a call to setAutocommit(false) for the connection everything > works fine. Does this imply that setDefaultAutoCommit is broken, then? > > Jdbc3ConnectionPool source = new Jdbc3ConnectionPool(); > > source.setServerName("ash"); > > source.setDatabaseName("adserver"); > > source.setUser("web"); > > source.setPassword("web"); > > source.setDefaultAutoCommit(false); > > conn = source.getConnection(); > > System.out.println(conn.getAutoCommit()); -O ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Callbacks for NOTIFY, Johann Uhrmann |
|---|---|
| Next by Date: | Java not running under Linux, wsmeyer |
| Previous by Thread: | Re: Help - lo_close: invalid large obj descriptor, Barry Lind |
| Next by Thread: | Re: Help - lo_close: invalid large obj descriptor, Toby Doig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|