RE: [Hibernate] [PATCH] make Query.setMaxResults() work for all databases

2002-12-24 Thread Gavin King
Thanks. I will apply this asap :) > -Original Message- > From: Russell Smyth [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 24 December 2002 5:31 AM > To: Hibernate-Devel (E-mail) > Subject: [Hibernate] [PATCH] make Query.setMaxResults() work > for all databases > &g

[Hibernate] [PATCH] make Query.setMaxResults() work for all databases

2002-12-23 Thread Russell Smyth
I have submitted a patch to the SF patch manager which allows Query.setMaxResults() to work even on databases which do not support PreparedStatement.setMaxRows(), such as SAPDB (which we must work with). The change is small, but it should increase compatablity greatly. My patch also includes remo