yhknight / odata4j

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

org.odata.internal.TypeConverter class provide conversion of limited data type #280

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create simple JPA entity having Long Id for primary key
2. Access this entity using it primary key like this url/Entity(id)
3.

What is the expected output? What do you see instead?
Got an error stated that 'invalid key type'. upon deubbing found that in 
TypeConverter class value of desireClass attribute is 
javax.jdo.identity.LongIdentity and there is no if block to handle this type.

What version of the product are you using? On what operating system?
odata4j0.7

Please provide any additional information below.

Original issue reported on code.google.com by waqas.tw...@gmail.com on 21 May 2014 at 5:33