Ingo,
>
> I have looked at oracle homepage and compared the drivers with the one i
> use. I am using the jdbc thin driver Version 8.1.7. This should be an
> international driver. Because I have read that only this driver works right
> with the new XADataSource I think it is the right driver.
>
> But that is not the problem. The driver works, the beans works, all seems to
> be fine :-) But the stacktrace if a table exists is not good for the eyes at
> startup from jboss.
>
hmmm...
I belive you when you say the driver works fine. The problem is that it
seems they didnt implement the DataBaseMetadata class right. This
metadata stuff is more or less decoupled from the driver logic, so the
driver works without.
Since we use the Minerva connection pools in jBoss we have to take care
of transactions during database initialization (table creation). The old
code was a hack (but working;-) so I ve changed it to a spec compatible
version. The j2ee spec says that a jdbc driver MUST implement this
metadata stuff - so its a failure of Oracle.
Aaron pointed out similar (performance in the metadata implementation)
problems with Oracle drivers some time ago.
So I think we should leave it as it is, at least it works. Its really
the first report of a drivers missbehaviour and maybe Oracle will fix
that soon.
As I said, I never used Oracle. Unfortunately Aaron seems to be off the
list since a couple of days...
\Daniel