Some db drivers required that the result set be read
in the same order that the sql statement is created.
This is the case for the Microsoft SQL Server - SQL
server 2000 JDBC driver, yucky.
Currently, JBoss reads the resultset in a sudo-random
order. This patch makes sure that JBoss reads the
result set in the same order as the SQL statement. The
only file that requires change is the
JDBCLoadEntityCommand.java, I've included a -u diff of
the two files. Thanks.
JDBCLoadEntityCommand.java