For table inheritance, use clazz.isAssignableFrom instead of simple class check.
Avoid cast exceptions
Support LIKE
Better support for Order By