commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject [dbutils] Transparent CLOB handling for Oracle
Date Mon, 05 Apr 2004 19:04:03 GMT
Hello !

I have created an Oracle-Driver wrapper to transparently handle clobs 
for Oracle 9i.
Using it and an jdbc url like jdbc:oracle_clob: will activate it.

If one use setString with an string shorter 4001 chars oracle wraps this 
automatically into an clob, else it forces the developer to do so - what 
a shame.
Using this wrapper, this will be done automatically.

Is this something useable for dbutils?
Currently the dependency with the oracle driver is hardcoded, but if 
dbutils is interested i could use reflection to allow compilation 
without having the oracle driver.

At the moment this driver is not used in an real live application, but 
this might change soon.

-- Mario

View raw message