Closed GoogleCodeExporter closed 9 years ago
@PersistenceCapable(identityType = IdentityType.APPLICATION) @Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE) public abstract class HasFoo { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; @Persistent @Element(dependent = "true") private List<Foo> fooList = new ArrayList<Foo>(); } @PersistenceCapable(identityType = IdentityType.APPLICATION) public static class Bar extends HasFoo { @Persistent(dependent = "true") Baz baz; } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Baz extends HasFoo { } @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Foo { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key key; }
Original issue reported on code.google.com by max.r...@gmail.com on 9 Dec 2009 at 8:57
max.r...@gmail.com
Original comment by max.r...@gmail.com on 10 Dec 2009 at 7:48
Original comment by max.r...@gmail.com on 26 Jan 2010 at 12:19
Original issue reported on code.google.com by
max.r...@gmail.com
on 9 Dec 2009 at 8:57