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

...of the generated DatabasesImpl