0.8dev: Use column name for determining the MAX value when updating the sequence. Refs #708.

Patch by Olemis Lang. This change will be reverted when trac:#11512 is merged.


git-svn-id: https://svn.apache.org/repos/asf/bloodhound/trunk@1573440 13f79535-47bb-0310-9956-ffa450edef68