karishma-tirthani / odata4j

Automatically exported from code.google.com/p/odata4j
0 stars 0 forks source link

odata4j does not support tables with GUID as the primary key #56

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Export a tale with uuid as primary key as a OData web service
2. Add one new service RUL entry to ODataEndpoints.java (odata4j-core)
3. Run the odata4j-android

What is the expected output? What do you see instead?
I expect to see the rows from the table correctly. I see the application 
crashes.

What version of the product are you using? On what operating system?
v0.4 on Android

Please provide any additional information below.

Original issue reported on code.google.com by GovComm...@gmail.com on 5 Aug 2011 at 2:09

GoogleCodeExporter commented 8 years ago
I have the very same issue. Can it be resolved in next version?

Original comment by antala...@gmail.com on 23 Oct 2011 at 12:41

GoogleCodeExporter commented 8 years ago

Original comment by john.spurlock on 6 Nov 2011 at 3:17

GoogleCodeExporter commented 8 years ago
You can use the table below.

http://24.184.235.116/CommunicationSuite.Web/CommunicationSuiteDataService.svc/C
ommunicationCellCarriers

It has the GUID as the primary key.

Original comment by GovComm...@gmail.com on 6 Nov 2011 at 3:22

GoogleCodeExporter commented 8 years ago
I can query the same table without any problem from Silverlight and OData 
Objective-c. I hope this is resolved so that I can use the same database for 
all platforms.

Original comment by GovComm...@gmail.com on 6 Nov 2011 at 3:24

GoogleCodeExporter commented 8 years ago
Thanks for the example.  Working on it now.  I assume you're
interested in the client api only?

Original comment by john.spurlock on 6 Nov 2011 at 3:28

GoogleCodeExporter commented 8 years ago
Correct!!!

Original comment by GovComm...@gmail.com on 6 Nov 2011 at 3:38

GoogleCodeExporter commented 8 years ago
In that case, looks like it's already been fixed in HEAD
(0.5-snapshot).  I'm also going to see if we can support UUID in
JPAProducer on the server side as well.

Original comment by john.spurlock on 6 Nov 2011 at 3:42

GoogleCodeExporter commented 8 years ago
This issue was closed by revision c3d208661fdf.

Original comment by john.spurlock on 6 Nov 2011 at 4:17