Hello all,
I have a J2EE application, and I am connecting to my backend MySLQ DB, to query a table that has Arabic texts stored. The Arabic text is stored properly in my DB, and I can retrieve and display it alright.
The problem is when I use an Arabic text to compare it in a SELECT query. i.e. consider the following SELECT query.
When I fire this query from the application, this query doesn't return any value. But, if I take this exact same query, and run it in mysql, then I get the result alright. But, not from my web application.
I would like to assume the problem may not be with the Database, but rather J2EE application? Is this something anyone has already seen before, where comparing an arabic text returns no result, while there should be? Thanks.
I have a J2EE application, and I am connecting to my backend MySLQ DB, to query a table that has Arabic texts stored. The Arabic text is stored properly in my DB, and I can retrieve and display it alright.
The problem is when I use an Arabic text to compare it in a SELECT query. i.e. consider the following SELECT query.
SELECT author_id, century FROM author_table WHERE author='انفسكم وقاتلوا'
When I fire this query from the application, this query doesn't return any value. But, if I take this exact same query, and run it in mysql, then I get the result alright. But, not from my web application.
I would like to assume the problem may not be with the Database, but rather J2EE application? Is this something anyone has already seen before, where comparing an arabic text returns no result, while there should be? Thanks.