Received: from localhost (pluto.hub.org [200.46.204.4]) by postgresql.org (Postfix) with ESMTP id 29FC79FB223 for ; Tue, 21 Nov 2006 10:49:23 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.4]) (amavisd-new, port 10024) with ESMTP id 43557-03-5 for ; Tue, 21 Nov 2006 10:49:14 -0400 (AST) X-Greylist: delayed 00:35:32.861299 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 0E6E99FA4C5 for ; Tue, 21 Nov 2006 10:45:24 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from smtp.ini.unizh.ch (dns.ini.unizh.ch [130.60.230.185]) by svr4.postgresql.org (Postfix) with ESMTP id EDEFF5B0256 for ; Tue, 21 Nov 2006 12:51:14 +0000 (GMT) Received: from smtp.ini.unizh.ch (localhost [127.0.0.1]) by smtp.ini.unizh.ch (Postfix) with ESMTP id E071B85CA81 for ; Tue, 21 Nov 2006 13:51:10 +0100 (CET) Received: by smtp.ini.unizh.ch (Postfix, from userid 499) id D3A5B85CA86; Tue, 21 Nov 2006 13:51:10 +0100 (CET) Received: from client.mpi-cbg.de (cbg-off-client.mpi-cbg.de [141.5.11.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.ini.unizh.ch (Postfix) with ESMTP id 1785985CA87 for ; Tue, 21 Nov 2006 13:51:05 +0100 (CET) Content-Disposition: inline From: Albert Cardona To: pgsql-jdbc@postgresql.org Subject: Re: Hello World Date: Tue, 21 Nov 2006 13:50:13 +0100 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200611211350.13171.acardona@ini.phys.ethz.ch> X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/109 X-Sequence-Number: 16151 Have a look at this file: http://www.pensament.net/java/other_plugins.html#postgresql http://www.pensament.net/java/PostgreSQL_.java It shows how to connect and insert/query an image as bytea. Works on top of ImageJ http://rsb.info.nih.gov/ij/ , a public domain minimalistic java image processing application. Albert -- Albert Cardona Molecular Cell Developmental Biology University of California Los Angeles Tel +1 310 2067376 Programming: http://www.ini.unizh.ch/~acardona/trakem2.html Research: http://www.mcdb.ucla.edu/Research/Hartenstein/ Web design: http://www.pixelets.com