Make DbHelper extensions protected, otherwise they're not getting injected.
In case of generator exception, add exception to end of log statement so we get stack trace.
rollback some changes from commit 2c8350a : Only adding return type to overrideable method was needed