views:

13

answers:

0

Hello,

I have written few Restful web services using Eclipselink for object relation mapping. Now i am calling these services from client side through GET method. Here while passing some special characters as a part of data, i am facing following problems --

1) + character is storing as space character in database(MySql). 2) How to pass '&' character as it is misunderstood as parameter differentiator in GET method. 3) How to store ' (single quote) character in Mysql as this is the reserved character in Mysql database.

Shall i go for URL encoding or is there any simple solution for these characters to accept as is through some configuration file. (Is there any property to be set in Eclipselink?)

Please help and thanks in advance.