Buggy code:
@ RegisterMapper ( TeamsMapper . class ) public abstract class TeamsDAO { public Connection conn ; private final Logger LOG = LoggerFactory . getLogger ( TeamsDAO . class ) ; @ SqlUpdate ( "INSERT<seq2seq4repair_space>INTO<seq2seq4repair_space>teams<seq2seq4repair_space>(team_name,<seq2seq4repair_space>names,<seq2seq4repair_space>team_number,<seq2seq4repair_space>avatar,<seq2seq4repair_space>tag_line,<seq2seq4repair_space>university,<seq2seq4repair_space>amount_raised_online,<seq2seq4repair_space>amount_raised_offline,<seq2seq4repair_space>countries,<seq2seq4repair_space>transport,<seq2seq4repair_space>description,<seq2seq4repair_space>featured,<seq2seq4repair_space>slug,<seq2seq4repair_space>video,<seq2seq4repair_space>avatar_large,<seq2seq4repair_space>last_checkin_id)<seq2seq4repair_space>VALUES<seq2seq4repair_space>(:name,<seq2seq4repair_space>:names,<seq2seq4repair_space>:team_number,<seq2seq4repair_space>:avatar,<seq2seq4repair_space>:tag_line,<seq2seq4repair_space>:university,<seq2seq4repair_space>:amount_raised_online,<seq2seq4repair_space>:amount_raised_offline,<seq2seq4repair_space>:countries,<seq2seq4repair_space>:transports,<seq2seq4repair_space>:description,<seq2seq4repair_space>:featured,<seq2seq4repair_space>:slug,<seq2seq4repair_space>:video,<seq2seq4repair_space>:avatar_large,<seq2seq4repair_space>:last_checkin_id" ) @ GetGeneratedKeys public abstract int insert ( @ BindProtobuf Team team ) { } <START_BUG> @ SqlUpdate ( "UPDATE<seq2seq4repair_space>teams<seq2seq4repair_space>SET<seq2seq4repair_space>team_name<seq2seq4repair_space>=<seq2seq4repair_space>:team_name,<seq2seq4repair_space>names<seq2seq4repair_space>=<seq2seq4repair_space>:names,<seq2seq4repair_space>team_number<seq2seq4repair_space>=<seq2seq4repair_space>:team_number,<seq2seq4repair_space>avatar<seq2seq4repair_space>=<seq2seq4repair_space>:avatar,<seq2seq4repair_space>tag_line<seq2seq4repair_space>=<seq2seq4repair_space>:tag_line,<seq2seq4repair_space>university<seq2seq4repair_space>=<seq2seq4repair_space>:university,<seq2seq4repair_space>amount_raised_online<seq2seq4repair_space>=<seq2seq4repair_space>:amount_raised_online,<seq2seq4repair_space>amount_raised_offline<seq2seq4repair_space>=<seq2seq4repair_space>:amount_raised_offline,<seq2seq4repair_space>countries<seq2seq4repair_space>=<seq2seq4repair_space>:countries,<seq2seq4repair_space>transports<seq2seq4repair_space>=<seq2seq4repair_space>:transports,<seq2seq4repair_space>description<seq2seq4repair_space>=<seq2seq4repair_space>:description,<seq2seq4repair_space>featured<seq2seq4repair_space>=<seq2seq4repair_space>:featured,<seq2seq4repair_space>slug<seq2seq4repair_space>=<seq2seq4repair_space>:slug,<seq2seq4repair_space>video<seq2seq4repair_space>=<seq2seq4repair_space>:video,<seq2seq4repair_space>avatar_large<seq2seq4repair_space>=<seq2seq4repair_space>:avatar_large,<seq2seq4repair_space>:last_checkin_id<seq2seq4repair_space>=<seq2seq4repair_space>:last_checkin_id<seq2seq4repair_space>WHERE<seq2seq4repair_space>id<seq2seq4repair_space>=<seq2seq4repair_space>:id" ) <END_BUG> public abstract int update ( @ BindProtobuf Team team ) ; @ SqlUpdate ( "DELETE<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>WHERE<seq2seq4repair_space>id<seq2seq4repair_space>=<seq2seq4repair_space>:id" ) public abstract int delete ( @ Bind ( "id" ) int id ) { } @ SqlQuery ( "SELECT<seq2seq4repair_space>*<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>WHERE<seq2seq4repair_space>id<seq2seq4repair_space>=<seq2seq4repair_space>:id" ) @ SingleValueResult ( Team . class ) public abstract Optional < Team > getTeam ( @ Bind ( "id" ) int id ) { } @ SqlQuery ( "SELECT<seq2seq4repair_space>id,<seq2seq4repair_space>team_number,<seq2seq4repair_space>team_name,<seq2seq4repair_space>names,<seq2seq4repair_space>slug,<seq2seq4repair_space>avatar,<seq2seq4repair_space>tag_line,<seq2seq4repair_space>university,<seq2seq4repair_space>amount_raised_online,<seq2seq4repair_space>amount_raised_offline,<seq2seq4repair_space>countries,<seq2seq4repair_space>transports,<seq2seq4repair_space>featured,<seq2seq4repair_space>last_checkin_id<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>WHERE<seq2seq4repair_space>id<seq2seq4repair_space>=<seq2seq4repair_space>:id" ) @ SingleValueResult ( Team . class ) public abstract Optional < Team > getLimitedTeam ( @ Bind ( "id" ) int id ) { } @ SqlQuery ( "SELECT<seq2seq4repair_space>id,<seq2seq4repair_space>team_number,<seq2seq4repair_space>team_name,<seq2seq4repair_space>names,<seq2seq4repair_space>slug,<seq2seq4repair_space>avatar,<seq2seq4repair_space>tag_line,<seq2seq4repair_space>university,<seq2seq4repair_space>amount_raised_online,<seq2seq4repair_space>amount_raised_offline,<seq2seq4repair_space>countries,<seq2seq4repair_space>transports,<seq2seq4repair_space>featured,<seq2seq4repair_space>last_checkin_id<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>WHERE<seq2seq4repair_space>id<seq2seq4repair_space>=<seq2seq4repair_space>ANY<seq2seq4repair_space>(:idList)" ) @ SingleValueResult ( Team . class ) public abstract List < Team > getLimitedTeams ( @ BindIds Set < Integer > ids ) { } @ SqlQuery ( "SELECT<seq2seq4repair_space>*<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>WHERE<seq2seq4repair_space>slug<seq2seq4repair_space>=<seq2seq4repair_space>:slug" ) @ SingleValueResult ( Team . class ) public abstract Optional < Team > getTeamSlug ( @ Bind ( "slug" ) String slug ) { } @ SqlQuery ( "SELECT<seq2seq4repair_space>*<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>ORDER<seq2seq4repair_space>BY<seq2seq4repair_space>(amount_raised_online<seq2seq4repair_space>+<seq2seq4repair_space>amount_raised_offline)<seq2seq4repair_space>DESC" ) public abstract List < Team > getTeams ( ) { } @ SqlQuery ( "SELECT<seq2seq4repair_space>*<seq2seq4repair_space>FROM<seq2seq4repair_space>teams<seq2seq4repair_space>ORDER<seq2seq4repair_space>BY<seq2seq4repair_space>(amount_raised_online<seq2seq4repair_space>+<seq2seq4repair_space>amount_raised_offline)<seq2seq4repair_space>DESC<seq2seq4repair_space>LIMIT<seq2seq4repair_space>10" ) public abstract List < Team > getTopTenTeams ( ) { } public List < Team > getFilteredTeams ( int limit , TeamsFilters filters ) throws SQLException { } }

Fix:
@ SqlUpdate ( "UPDATE<seq2seq4repair_space>teams<seq2seq4repair_space>SET<seq2seq4repair_space>team_name<seq2seq4repair_space>=<seq2seq4repair_space>:team_name,<seq2seq4repair_space>names<seq2seq4repair_space>=<seq2seq4repair_space>:names,<seq2seq4repair_space>team_number<seq2seq4repair_space>=<seq2seq4repair_space>:team_number,<seq2seq4repair_space>avatar<seq2seq4repair_space>=<seq2seq4repair_space>:avatar,<seq2seq4repair_space>tag_line<seq2seq4repair_space>=<seq2seq4repair_space>:tag_line,<seq2seq4repair_space>university<seq2seq4repair_space>=<seq2seq4repair_space>:university,<seq2seq4repair_space>amount_raised_online<seq2seq4repair_space>=<seq2seq4repair_space>:amount_raised_online,<seq2seq4repair_space>amount_raised_offline<seq2seq4repair_space>=<seq2seq4repair_space>:amount_raised_offline,<seq2seq4repair_space>countries<seq2seq4repair_space>=<seq2seq4repair_space>:countries,<seq2seq4repair_space>transports<seq2seq4repair_space>=<seq2seq4repair_space>:transports,<seq2seq4repair_space>description<seq2seq4repair_space>=<seq2seq4repair_space>:description,<seq2seq4repair_space>featured<seq2seq4repair_space>=<seq2seq4repair_space>:featured,<seq2seq4repair_space>slug<seq2seq4repair_space>=<seq2seq4repair_space>:slug,<seq2seq4repair_space>video<seq2seq4repair_space>=<seq2seq4repair_space>:video,<seq2seq4repair_space>avatar_large<seq2seq4repair_space>=<seq2seq4repair_space>:avatar_large,<seq2seq4repair_space>last_checkin_id<seq2seq4repair_space>=<seq2seq4repair_space>:last_checkin_id<seq2seq4repair_space>WHERE<seq2seq4repair_space>id<seq2seq4repair_space>=<seq2seq4repair_space>:id" )