obviously, .. <parameter name="eId" type="integer" column="e_id" not-null="true"/> .. and in the b-logic code use standard enum :)