added support for auto_increment columns
min and max for the SingleTableDao