SJC2 & MSSQL 2005 : pagesize()

Hi all,

In the editor I am just creating a dataprovider on a database table and a jsp page with a table to display the data (just drag/drop).

It works!

So if I modify the default 0 value of property Pagesize of the CachedRowset, I recieve the following error message when this same page is running:

Exception Details: org.apache.jasper.JasperException

com.microsoft.sqlserver.jdbc.SQLServerException: The cursor type/concurrency combination is not supported.

Possible Source of Error:

Class Name: org.apache.jasper.servlet.JspServletWrapper

File Name: JspServletWrapper.java

Method Name: service

Line Number: 384

I am using the latest Microsoft JDBC driver : jdbc:sqlserver://localhost:1433;DatabaseName=xxx;selectMethod=cursor;

Regarding the error message, I try to change the concurency/ type values

but it gives the same error.

Any idea is welcome.

Thank you

Message was edited by:

dzafer

Message was edited by:

dzafer

[1047 byte] By [dzafer] at [2007-11-26 8:32:52]
# 1

I can duplicate the problem, although I don't know the exact cause.

In general, we recommend using the DataDirect drivers, which are included in Java Studio Creator for use during development. These have been tested against the appropriate database systems.

The problem does not occur using the MSSQL driver that is included with the IDE.

In general, vendor-supplied drivers may not be fully compliant with the JDBC specification, leading to the kind of issue that arose here.

Jim Davidson

Java Studio Creator Team

JimDavidson at 2007-7-6 21:57:41 > top of Java-index,Development Tools,Java Tools...