Hi,

I am having String type EdmKey in my Odata Object.

So I am retrieving the Object with Id of the Object surrounded by single quotes 
which is working as expected (when I remove single quotes from primary-key 
value just before fetching the data using hibernate)

https://localhost:8080/v1/NetworkDevices/Switch('123')<https://localhost:8080/v1/NetworkDevices/Switch('123')>

uriParameter.getText() is resulting in '123' (with single quotes). For which I 
have to manually remove the single quote and pass to the dao layer. Is there 
any better way to do this. ?
Also the edit link in the response, is displayed without single quotes which is 
again not working. How can I fix this issue?

[cid:image001.png@01D35EB8.49CC8550]

Please suggest. Thanks.

Regards,
Azar




Reply via email to