Move the partition number concatenation into DatabaseConnection instead of the generated DatabasesImpl