GUAC-1103: Add missing typecase for connection group type.
This commit is contained in:
1 parent
db6a9f07a3
commit
ee3d8f77c2
1 file changed
+2
-2
+2
-2
@@ -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