added setDBFieldAll() and setDBField() methods
Also cast fields to type L to (int)
Merge pull request #1463 from rgasch/rngdev

added setDBFieldAll() and setDBField() methods