mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUAC-1103: Add missing typecase for connection group type.
This commit is contained in:
@@ -142,7 +142,7 @@
|
|||||||
VALUES (
|
VALUES (
|
||||||
#{object.name,jdbcType=VARCHAR},
|
#{object.name,jdbcType=VARCHAR},
|
||||||
#{object.parentIdentifier,jdbcType=INTEGER}::integer,
|
#{object.parentIdentifier,jdbcType=INTEGER}::integer,
|
||||||
#{object.type,jdbcType=VARCHAR}
|
#{object.type,jdbcType=VARCHAR}::guacamole_connection_group_type
|
||||||
)
|
)
|
||||||
|
|
||||||
</insert>
|
</insert>
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
UPDATE guacamole_connection_group
|
UPDATE guacamole_connection_group
|
||||||
SET connection_group_name = #{object.name,jdbcType=VARCHAR},
|
SET connection_group_name = #{object.name,jdbcType=VARCHAR},
|
||||||
parent_id = #{object.parentIdentifier,jdbcType=INTEGER}::integer,
|
parent_id = #{object.parentIdentifier,jdbcType=INTEGER}::integer,
|
||||||
type = #{object.type,jdbcType=VARCHAR}
|
type = #{object.type,jdbcType=VARCHAR}::guacamole_connection_group_type
|
||||||
WHERE connection_group_id = #{object.objectID,jdbcType=INTEGER}::integer
|
WHERE connection_group_id = #{object.objectID,jdbcType=INTEGER}::integer
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user