What steps will reproduce the problem?
1. no problem to create OData Consumer
2. when getEntities, there is problem throws IllegalArgumentException
What is the expected output? What do you see instead?
I want to get these entities but instead:
bad valueString [datetime'2012-09-05T17%3A00%3A00'] as part of keyString
[FacultyId=1961,StartTime=datetime'2012-09-05T17%3A00%3A00']
What version of the product are you using? On what operating system?
0.7
Please provide any additional information below.
The entity's id including a datetime argument to decide which entity it is. I
believe OData4j can't read the datetime but just read it as String so throws
that exception.
code snippet:
ODataConsumer c = ODataConsumers
.create(rooturl);
Enumerable<OEntity> thisFaculty = c.getEntities("OfficeHours")
.execute();
Original issue reported on code.google.com by mydreamw...@gmail.com on 24 Aug 2012 at 4:54
Original issue reported on code.google.com by
mydreamw...@gmail.com
on 24 Aug 2012 at 4:54