google-code-export / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
1 stars 0 forks source link

Support polymorphism with "@Embedded" #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Add the following classes/interfaces:

 interface A{}
 class B implements A{}
 class C implements A{}

 @Entity
 class D
 {
  @Id
  ...

  @Embedded
  A something;
 }

What is the expected output? What do you see instead?
 Expecting to see class B or class C stored in class D.
 But instead we got an Exception "B is not a supported property type"

What version of the product are you using? On what operating system?
 objectify 3.0

Please provide any additional information below.

Original issue reported on code.google.com by tom.fish...@dishcrunch.com on 31 Dec 2011 at 5:48

GoogleCodeExporter commented 9 years ago

Original comment by lhori...@gmail.com on 31 Dec 2011 at 5:10

GoogleCodeExporter commented 9 years ago
Polymorphism on embedded classes is supported in v5

Original comment by lhori...@gmail.com on 14 Apr 2014 at 12:28