Updating sqlgen calls.
Updating sqlgen calls.
Upgrading adapter to use sqlgen.