added support for auto_increment columns + min/max for SingleTableDao