On 10/12/05, Dave Sunerton-Burl <[EMAIL PROTECTED]> wrote: > Alexandre Borgoltz wrote:
> > This is the first time I use DdlUtils and I am facing a problem: > > > > I get a SQLException stating that the "stream is already closed". > > It occurs in at org.apache.ddlutils.io.JdbcModelReader.getValueAsString > > for the "COLUMN_DEF" column. > > > > I am using an oracle 8.1.7 DB with 10g jdbc drivers. > > > I've experienced the same thing working with Oracle (not with DdlUtils) > where the database and Oracle client versions are mismatched - as in > your case. I know newer client versions *should* be backwards compatible > - but that's in a perfect world! Check the Oracle site for their > comments about compatibility with 8.1.7 (it's pretty old now) and the > 10g driver. Mostly, it seems to happen when there are BLOBS and CLOBS > involved, but not always... > > FYI - we're running a big application here against an 8.1.6 database, > with a 9.2 client successfully. > > So, all in all, I would think your problem is not with DdlUtils, or you > :), but with the Oracle client and provider. The other reason why this is happening, might be that the column in question is a LONG column which is known to give problems with Oracle JDBC drivers, especially the thin driver. Tom
