On 12:00, lunedì 19 gennaio 2004, ROSSEL Olivier (CIMPA) wrote:
> I try to export as CSV the content of a SQLServer database.
> I use Jtds driver and Druid 3.4.
>
> With SqlServer 7, I had no problems.
> With SqlServer 2000, I get an error that is:
> "SQL Server does not support TRANSACTION_SERIALIZABLE"
>
> I think the problem comes either from my driver or my database
> configuration.
>
> Any help is welcome.
The problem is on the jdbc driver. Druid asks for the best transaction
level. The driver responds. Druid tries to use the given level. The driver
fails.
To avoid this, you can comment a line and try to rebuild druid yourself.
The file is : build/src/druid/core/jdbc/JdbcConnection.java
Comment line 77:
tryTransactionIsolation();
must be changed into:
// tryTransactionIsolation();
Go inside the build directory and issue ant to rebuild all.
Run druid and enjoy !!!
Cheers,
Andrea
|