I am working with JAVA + Olingo Odata v4 library and I was wondering if there is an easier way to "generate" entity types / entities / entitysets using annotations as it used to be the case as in v2 of the same library.
In my opinion manually "binding" entities several times (for the metadata as definition, for the set and for the separate entity as values ) is kinda strange and "not modernistic".
Maybe I am missing the point of it all, so I would be glad to read some opinions that will open my eyes.
It is a snippet from the method "getEntityType" where you`ll have to add lets say 200 properties separately to an entity, whereas I saw that in C# you can just use your pojo class instead of typing down 1000 lines of code just to build your entity type. Yes, writing them down is easy, but still bothers me internally..... – Alex May 22 '17 at 20:10