Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 81764475A09 for ; Mon, 13 Jan 2003 22:48:16 -0500 (EST) Received: from mail.xythos.com (ip-216-36-77-241.dsl.sjc.megapath.net [216.36.77.241]) by postgresql.org (Postfix) with ESMTP id 00F53474E44 for ; Mon, 13 Jan 2003 22:48:16 -0500 (EST) Received: from ravms by mail.xythos.com with mail-ok (Exim 3.36 #3) id 18YI3o-0002Sp-00; Tue, 14 Jan 2003 03:48:20 +0000 Received: from h-66-166-17-184.snvacaid.covad.net ([66.166.17.184] helo=xythos.com) by mail.xythos.com with asmtp (Exim 3.36 #3) id 18YI3n-0002Se-00; Tue, 14 Jan 2003 03:48:20 +0000 Message-ID: <3E236504.1000708@xythos.com> Date: Mon, 13 Jan 2003 17:16:52 -0800 From: Barry Lind User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Felipe Schnack Cc: pgsql-jdbc Subject: Re: binary data References: <1042488447.12917.66.camel@desenv1.ritterdosreis.br> In-Reply-To: <1042488447.12917.66.camel@desenv1.ritterdosreis.br> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-To: felipes@ritterdosreis.br, pgsql-jdbc@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/157 X-Sequence-Number: 6007 This is pretty well documented in the jdbc chapter of the postgresql documentation (section on Binary Data). (At least all the code examples there used to work :-) --Barry Felipe Schnack wrote: > I want to set binary data on a database field... > It's actually a java compiled class, how should I do this? Using > preparedstatement.SetBinaryData and a bytea field? > How I get it back? >