cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Hessing <kai.hess...@hobsons.de>
Subject Re: Postgres, Cocoon and Blobs
Date Thu, 27 Jul 2006 12:28:05 GMT
Bertrand Delacretaz wrote:
> On 7/20/06, Kai Hessing <kai.hessing@hobsons.de> wrote:
>> Does anyone have an idea how I may access Blobs in a
>> Postgres-Database from cocoon?...
> 
> I'm not sure if it will work out of the box for you, but the
> DatabaseReader should help - it uses ResultSet.getBinaryStream() to
> retrieve the data.
> 
> See src/blocks/databases/java/org/apache/cocoon/reading/DatabaseReader.java

We didn't had this package in our build, but my collegue has written a
similiar short routine, which works as well :) Thanks.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message