fixed bug in jdbc add generator