LPS-39031 - test to reproduce column order issue.

This is the test that I was talking about It is not for DB2Dialect but for QueryUtil.

When you run this

ant test-class -Dclass=QueryUtilTest

You will get

java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Integer on two tests.

And that was the reason I made reordering the ROW NUMBER column.