phdmohans / odata4j

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

InMemoryEdmGenerator generates incorrect CSDL for <Association> #158

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

pojos:

Class A {}
Class B {
  A importantA;
  Collection<A> secondaryAs;
}

the Edm should contain 2 unique <Associations> but we get 2 Associations that 
have the same name "FK_B_A"

The edm generation should use more than just entity type...

Original issue reported on code.google.com by tony.ro...@gmail.com on 17 Apr 2012 at 3:55