Facing issue while filtering arabic value from database

arabicName englishName
راهول
Rahul

I have a table like this in mysql. Need to retrieve englishName by passing arabicName through query entity. While passing the arabicName through rule input in query filter the expression is returning no matching data found. I have also tried Query Database smart service through process model but was of no success. 

NB: For knowledge ,collation and charset for my table and column is set to charset= utf-8 and collation= utf-8_general_ci. 

If anyone have faced the same issue and know how to solve this problem will be a great help.

Thanks.

  Discussion posts and replies are publicly visible

Parents Reply
  • Hi Robert, below is my table structure and query entity to retrieve the English name. But while executing it is returning no matching data found.

    a!queryEntity(
    entity: cons!ARABIC_ENGLISH_LOOKUP,
    query: a!query(
    logicalexpression: a!queryLogicalExpression(
    operator: "AND",
    filters: {
    a!queryFilter(
    field: "arabicName",
    operator: "=",
    value: "يوحنا"
    )
    },
    ignoreFiltersWithEmptyValues: true
    ),
    pagingInfo: a!pagingInfo(
    startIndex: 1,
    batchSize: -1
    )
    ),
    fetchTotalCount: true
    )

Children