Added new method to transactionally create db-objects from a list of
objects.