Column definition mapping 'uniqueidentifier '

Certified Lead Developer
Is there any by which I can map Sql server database row with data type 'uniqueidentifier ' with appian column.

OriginalPostID-245193

  Discussion posts and replies are publicly visible

Parents
  • Hello Ajinkya, If you are fetching the data from SQL Server DB, then can use string as shown in below format: <xsd:element name="ProjectId" nillable="true" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="appian.jpa">
                                  @Column(name = "ProjectId" columnDefinition="uniqueidentifier")
                        </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>

    Regards,
    Vinit.
Reply
  • Hello Ajinkya, If you are fetching the data from SQL Server DB, then can use string as shown in below format: <xsd:element name="ProjectId" nillable="true" type="xsd:string">
    <xsd:annotation>
    <xsd:appinfo source="appian.jpa">
                                  @Column(name = "ProjectId" columnDefinition="uniqueidentifier")
                        </xsd:appinfo>
    </xsd:annotation>
    </xsd:element>

    Regards,
    Vinit.
Children
No Data