Re: Bug is com.microsoft.sqlserver.jdbc.SQLServerDataSource (2005 Beta
- From: "Matt Neerincx [MSFT]" <mattn@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 13 Oct 2005 22:29:33 -0700
Note we are planning on changing this back to allowing selectMethod due to
huge customer demand.
--
Matt Neerincx [MSFT]
This posting is provided "AS IS", with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"jef" <jef@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5FB92280-7932-4722-84AC-72A3102980E5@xxxxxxxxxxxxxxxx
> The following JUnit code fails:
> // elided ...
> public void testSelectMethod()
> {
> SQLServerDataSource source = new SQLServerDataSource();
> source.setSelectMethod("cursor");
> assertEquals("cursor", source.getSelectMethod());
> }
> // elided ...
>
> with:
>
> junit.framework.ComparisonFailure: Select method not set to cursor
> expected:<cursor> but was:<null>
> at junit.framework.Assert.assertEquals(Assert.java:81)
> at test.foo.assumptions.JTASQLTest.testSelectMethod(JTASQLTest.java:49)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at junit.framework.TestCase.runTest(TestCase.java:154)
> at junit.framework.TestCase.runBare(TestCase.java:127)
> at junit.framework.TestResult$1.protect(TestResult.java:106)
> at junit.framework.TestResult.runProtected(TestResult.java:124)
> at junit.framework.TestResult.run(TestResult.java:109)
> at junit.framework.TestCase.run(TestCase.java:118)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
>
>
> --
> jef - integralpath.blogs.com
.
- Follow-Ups:
- Re: Bug is com.microsoft.sqlserver.jdbc.SQLServerDataSource (2005
- From: Eric Molitor
- Re: Bug is com.microsoft.sqlserver.jdbc.SQLServerDataSource (2005
- Prev by Date: Re: XA Support?
- Next by Date: Re: Bug is com.microsoft.sqlserver.jdbc.SQLServerDataSource (2005
- Previous by thread: Re: Bug is com.microsoft.sqlserver.jdbc.SQLServerDataSource (2005 Beta
- Next by thread: Re: Bug is com.microsoft.sqlserver.jdbc.SQLServerDataSource (2005
- Index(es):
Relevant Pages
|