Ticket #269: Pull connection ID after insert.

This commit is contained in:
Michael Jumper
2013-02-26 00:15:33 -08:00
parent 7d8fc88b53
commit c49a4bee92

View File

@@ -147,6 +147,9 @@
) )
values (#{connection_id,jdbcType=INTEGER}, #{connection_name,jdbcType=VARCHAR}, #{protocol,jdbcType=VARCHAR} values (#{connection_id,jdbcType=INTEGER}, #{connection_name,jdbcType=VARCHAR}, #{protocol,jdbcType=VARCHAR}
) )
<selectKey keyProperty="connection_id" resultType="int" order="AFTER">
select last_insert_id();
</selectKey>
</insert> </insert>
<insert id="insertSelective" parameterType="net.sourceforge.guacamole.net.auth.mysql.model.Connection"> <insert id="insertSelective" parameterType="net.sourceforge.guacamole.net.auth.mysql.model.Connection">
<!-- <!--