On Wednesday 23 July 2003 10:26 am, Rob van Maris wrote:
> <Nico Klasens:>
> > 
> > Which byte field for postgresql are we going to support in 
> > the next releases of mmbase? I prefer the oid, but this will 
> > require the postgresql driver when building mmbase for postgresq.
> 
> In fact it's only required to compile the postgresql database
> supportclass that depends on it.
> This shouldn't be a problem, the Ant build script can be modified to
> conditionally exclude this class from compilation if the required driver
> classes are not available. This is already the case for some other
> databases (Oracle and Informix).

The problem is even a bit more compilcated since modern postgresql jdbc drivers
with "modern" database map the getBinayStream / geBolb to a bytea

The best thing to do I think is to use the jxDBCon jdbc driver and solve the problem 
there(map blobs to oid's)
http://jxdbcon.sourceforge.net/


> 
> Rob van Maris
> 
> Quantiq
> xmedia & communication solutions
> ------------------------------------------------------------
> Koninginneweg 11-13
> Hilversum, The Netherlands
> mob. 316 42258660
> -------------------------------------------------------------
> 
> 

-- 
Kees Jongenburger
Mediapark C101 Hilversum  
+31 (0)35 6772910


Reply via email to