BS-7773, change signature of the method to make it work on oracle