refs #2467 Primary key will be loaded as a separate column win correct DB name.

(cherry picked from commit 3a49b5ff4504e575b94deb6b1d69fc27c2512d12)