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 removing the workaround from the test for this feature for SAPDB. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel