@Buff said:
Without seeing the sort of stuff that's going into these calls it's hard to tell what's going on. A Weblogic SQLComparator is used when you're using a sorted rowset (I'm guessing that this data is displayed somehow and a user can re-sort the data).
It looks like this method might be being used to cache setup for statements? Without knowing what he puts in the Object list and Integer it's hard to know. I can see that if you've got a GUI with tabs perhaps you could use this to map the tab name to the comparator, then the comparator to some kind of display controls?
It's simpler than that. He is just using this contruct to pass data to a class that abstracts the database connection and execution part. He takes this map and builds the select values or the where clause.