pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: torben <torben@frojonck.dk>
To: pgsql-jdbc@postgresql.org
Subject: Jboss and largeObjectManager
Date: Wed, 08 Jun 2005 20:21:32 +0200
Message-ID: <42A7372C.7000509@frojonck.dk> (raw)

I am using Jbos 4.0 and postgresql 7.3 as database. As datasource I have 
pooled connection (local-tx-datasource).

As long as I do not work with large object it seems to be fine.

But how do get an instance of the LargeObjectManager.
When I try to do
       
LargeObjectManager lobj = ((org.postgresql.PGConnection) 
dbcon).getLargeObjectAPI();

I get the error java.lang.ClassCastException: 
org.jboss.resource.adapter.jdbc.WrappedConnection

I hope someone can help me.

Best regards

Torben Froeberg








view thread (3+ messages)  latest in thread

Message-ID: <42A7372C.7000509@frojonck.dk>
Permalink:  ../42A7372C.7000509@frojonck.dk/
Also on:    postgresql.org/message-id/42A7372C.7000509@frojonck.dk

 · 

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: torben@frojonck.dk
  Subject: Re: Jboss and largeObjectManager
  In-Reply-To: <42A7372C.7000509@frojonck.dk>
  References: <42A7372C.7000509@frojonck.dk>

* 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