X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EBD035280A for ; Wed, 8 Jun 2005 15:21:44 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 10629-04 for ; Wed, 8 Jun 2005 18:21:40 +0000 (GMT) Received: from gropa.frojonck.dk (unknown [217.116.234.122]) by svr1.postgresql.org (Postfix) with ESMTP id 9469452862 for ; Wed, 8 Jun 2005 15:21:37 -0300 (ADT) Received: from [192.168.0.100] (torben.family [192.168.0.100]) by gropa.frojonck.dk (Postfix) with ESMTP id D17281A8004 for ; Wed, 8 Jun 2005 14:21:33 -0400 (EDT) Message-ID: <42A7372C.7000509@frojonck.dk> Date: Wed, 08 Jun 2005 20:21:32 +0200 From: torben User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Jboss and largeObjectManager Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/40 X-Sequence-Number: 13002 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