RDBMS tests and init of the new module

The tests to check some Expressions to SQL statement conversion and started the new module which will provide a tool to generate the RDBMS module configuration by reverse engineering  
True that autobox bug is very tricky, that worry came to my mind as well when I wrote this snippet but I thought using a special number as a value, like negative  numbers, to represent when the value is not specified but maybe for a database implementation could consider this value as valid, in the earlier example, if -1 was specified it would take the last row and then the first until reaching the limit. Well, as we can create specific implementation classes, we can change this code to whatever we think is better now. What is you suggestion? A flag like Long.MIN_VALUE, for instance)