Generic data generator for databases.