Hello, Just a quick addendum... the freetds jdbc driver is a JDBC 1.0 driver by default, you have to make the project from scratch to get partial JDBC 2.0.
There is a JDBC2.0 branch of the freetds software called JTDS at http://sourceforge.net/project/showfiles.php?group_id=33291 However, I tested this with the JDO testing framework and it seems that some methods in the JDBC 2.0 API aren't implemented by this driver... It failed every test. Specifically, it seems PreparedStatement_base.setObject(PreparedStatement_base.java) is not implemented. I was going to investigate this further when I got some time when my current project ends. Patrick Bruce Snyder wrote: >This one time, at band camp, Rangan N Chakravarthy said: > >RNC>I have downlodaed the latest jdbc drivers from Microsoft. I get the following >problem when I try to run one of the sample programs. >RNC> >RNC>"java.lang.IllegalStateException: Data source class name does not extend >javax.sql.DataSource >RNC>Nested error: java.lang.IllegalStateException: Data source class name does not >extend javax.sql.DataSource{file://e:/castor/database.xml; line: 6; column: 73}" > >Rangan, > >Please post your database descriptor. Have you set it up to make >use of a <datasource> instead of a <driver>? Also, have you tried >the FreeTDS (http://www.freetds.org/) JDBC drivers for SQL Server? >Word has it that the actual MS JDBC drivers are horribly buggy. > >Bruce >-- > >perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");' > >----------------------------------------------------------- >If you wish to unsubscribe from this mailing, send mail to >[EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
