java - Is it possible to renounce the key property of a Olingo EntityType -


is key value mandatory while setting entitytype?

this may sound little odd have case key unnecessary. asking myself if can rid of these code lines.

        list<propertyref> keyproperties = new arraylist<propertyref>();         keyproperties.add(new propertyref().setname("key"));         key key = new key().setkeys(keyproperties); 

a key required entitytype in olingo , odata, because if there no unique key entity won't able use getentity (to query data of 1 entity given entityset) on , navigation properties , $expand not behave properly.


Comments