Re: OUT Parameter of type used defined object array obtained as null

From: dmp <danap(at)ttc-cmc(dot)net>
To: njohny <neethu(dot)johny(at)wipro(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: OUT Parameter of type used defined object array obtained as null
Date: 2012-06-18 18:55:11
Message-ID: 4FDF798F.80308@ttc-cmc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

> 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.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2012-06-18 23:16:54 Re: OUT Parameter of type used defined object array obtained as null
Previous Message njohny 2012-06-18 05:35:46 OUT Parameter of type used defined object array obtained as null