Add BaseDao
Call resultSet.next() when checking the version