mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
Ticket #269: Pull connection ID after insert.
This commit is contained in:
@@ -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">
|
||||||
<!--
|
<!--
|
||||||
|
Reference in New Issue
Block a user