users@glassfish.java.net

Re: Glassfish 3.1 & JPA SetMaxResults

From: <forums_at_java.net>
Date: Fri, 14 Oct 2011 03:14:10 -0500 (CDT)

Which JDBC driver are you using?
The useCursors property is defaulted to false as per the document of jtds
jdbc driver : http://jtds.sourceforge.net/faq.html#urlFormat [1]. This also
says that
"With SQL Server a so called fast forward-only cursor
<http://msdn.microsoft.com/library/en-us/acdata/ac_8_con_07_3tdf.asp> [2]
will be created when this property is set to |true|. With Sybase a usual
forward-only read-only cursor is created."


[1] http://jtds.sourceforge.net/faq.html#urlFormat
[2] http://msdn.microsoft.com/library/en-us/acdata/ac_8_con_07_3tdf.asp

--
[Message sent by forum member 'sm157516']
View Post: http://forums.java.net/node/851542