{%- if table.pk_column %} {%- set pk_field = table.pk_column.java_field %} {%- else %} {%- set pk_field = 'id' %} {%- endif %}