Re: OUT Parameter of type used defined object array obtained as null - Mailing list pgsql-jdbc

From njohny
Subject Re: OUT Parameter of type used defined object array obtained as null
Date
Msg-id 449B0556630F3349AF898BC27C7548E225C1AD79@BLR-EC-MBX3.wipro.com
Whole thread Raw
In response to Re: OUT Parameter of type used defined object array obtained as null  (dmp <danap@ttc-cmc.net>)
Responses Re: Re: OUT Parameter of type used defined object array obtained as null
List pgsql-jdbc

Hi Dave,

You are right.I am using Enterprise DB version
of PostgreSQL
.But As far as I know both have same features. It would be fine If you could suggest me some work outs in postgre sql.

 

From: dmp-2 [via PostgreSQL] [mailto:ml-node+[hidden email]]
Sent: Tuesday, June 19, 2012 7:15 AM
To: Neethu Johny (WI01 - Solutions)
Subject: Re: OUT Parameter of type used defined object array obtained as null

 

Dave Cramer wrote:


> Dave Cramer
>
> dave.cramer(at)credativ(dot)ca
> http://www.credativ.ca
>
>
> On Mon, Jun 18, 2012 at 2:55 PM, dmp<[hidden email]>  wrote:
>>>   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.
>>
>>
>
>
> This is the EDB jdbc driver.
>
>
>> --
>> Sent via pgsql-jdbc mailing list ([hidden email])
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-jdbc
>


After I sent this I pretty much guessed this was the Enterprise DB version
of PostgreSQL. I guess the point was that don't they have there own compiled
version of PostgreSQL and maybe the JDBC? If so then this forum might not be
the appropriate place to pose the question, since EDB, features might be different.

danap.

--
Sent via pgsql-jdbc mailing list ([hidden email])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc


To unsubscribe from OUT Parameter of type-(USER DEFINED OBJECT ARRAY) obtained as null, click here.
NAML

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com


View this message in context: RE: OUT Parameter of type used defined object array obtained as null
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.

pgsql-jdbc by date:

Previous
From: dmp
Date:
Subject: Re: OUT Parameter of type used defined object array obtained as null
Next
From: Heikki Linnakangas
Date:
Subject: Re: Re: OUT Parameter of type used defined object array obtained as null