Bug #45171 Connection.serverPrepareStatement() returns wrong default result set types

Submitted: 28 May 2009 21:21 Modified: 23 Jun 2009 14:43
Reporter: Mark Matthews Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S2 (Serious)
Version: OS:Any
Assigned to: Mark Matthews CPU Architecture:Any

[28 May 2009 21:21] Mark Matthews
Description:
Calling Connection.serverPrepareStatement() variants that don't take result set type or concurrency arguments returns statements that produce result sets with incorrect defaults, namely TYPE_SCROLL_SENSITIVE.

How to repeat:
Call Connection.serverPrepareStatement() and see what kind of statements it returns.
[28 May 2009 21:23] Mark Matthews
Now fixed.
[23 Jun 2009 14:43] Tony Bedford
An entry has been added to the 5.1.8 changelog:

Calling Connection.serverPrepareStatement() variants that do not take result set type or concurrency arguments returned statements that produced result sets with incorrect defaults, namely TYPE_SCROLL_SENSITIVE.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.