Improved base DAO features.
New DAO for Long-based ID entities.