show warning when a selectById does not declare the argument as the
primarykey