p.id, p.component_uuid as "componentUuid", p.link_type as "type", p.name as name, p.href as href INSERT INTO project_links (component_uuid, link_type, name, href) VALUES (#{componentUuid,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{href,jdbcType=VARCHAR}) UPDATE project_links SET component_uuid=#{componentUuid,jdbcType=VARCHAR}, link_type=#{type,jdbcType=VARCHAR}, name=#{name,jdbcType=VARCHAR}, href=#{href,jdbcType=VARCHAR} WHERE id=#{id} DELETE FROM project_links WHERE id=#{id}