Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 1E6BF13FA3D8 for ; Mon, 18 Jun 2012 16:01:15 -0300 (ADT) Received: from outbound.vnet-inc.com ([216.146.104.103]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SghCJ-0002pG-OG for pgsql-jdbc@postgresql.org; Mon, 18 Jun 2012 19:01:15 +0000 Received: from [192.168.157.132] (unknown [76.75.27.41]) by outbound.vnet-inc.com (Postfix) with ESMTP id 85A0E5927; Mon, 18 Jun 2012 13:00:58 -0600 (MDT) Message-ID: <4FDF798F.80308@ttc-cmc.net> Date: Mon, 18 Jun 2012 12:55:11 -0600 From: dmp User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.13) Gecko/20100914 SeaMonkey/2.0.8 MIME-Version: 1.0 To: njohny , pgsql-jdbc@postgresql.org Subject: Re: OUT Parameter of type used defined object array obtained as null References: <1339997746172-5713033.post@n5.nabble.com> In-Reply-To: <1339997746172-5713033.post@n5.nabble.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/69 X-Sequence-Number: 23063 > 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.