pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: njohny <neethu.johny@wipro.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: OUT Parameter of type used defined object array obtained as null
Date: Mon, 18 Jun 2012 12:55:11 -0600
Message-ID: <4FDF798F.80308@ttc-cmc.net> (raw)
In-Reply-To: <1339997746172-5713033.post@n5.nabble.com>
References: <1339997746172-5713033.post@n5.nabble.com>

>   It would be of great
> help if somebody could just let me know whether or not fetch is possible
> with the custom object Array types.
> We have a sample code which yields no error but the OUT object array is
> obtained as null. Any hint on what we are missing out or any other guidance
> from your team will be highly appreciated.
>
> Please find the code snippets below.

import java.sql.Array;
import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Types;
--> import com.edb.util.PGobject;

What is com.edb.util.PGobject? This does not appear to be the the PGobject
class provided from the PostgreSQL JDBC driver, org.posgresql.util.PGobject.
It does not appear you are using the Class.forName("org.postgresql.Driver");

danap.



view thread (7+ messages)  latest in thread

Message-ID: <4FDF798F.80308@ttc-cmc.net>
Permalink:  ../4FDF798F.80308@ttc-cmc.net/
Also on:    postgresql.org/message-id/4FDF798F.80308@ttc-cmc.net

 · 

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: danap@ttc-cmc.net, neethu.johny@wipro.com
  Subject: Re: OUT Parameter of type used defined object array obtained as null
  In-Reply-To: <4FDF798F.80308@ttc-cmc.net>
  References: <1339997746172-5713033.post@n5.nabble.com> <4FDF798F.80308@ttc-cmc.net>

* 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