manos
unread,Dec 4, 2012, 4:05:46 PM12/4/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to resth...@googlegroups.com
Hello,
Congrats for the 2.0.0 release! Already in my POMs. To my question: My root entity uses UUIDs as PKs and uses @JsonIdentityInfo to serialize each object only once and using references for other instances of the same object in the same JSON response. However the backbone stack does not seem able to cope with the references. Am I missing something? Is this not supported?
@MappedSuperclass
@JsonIdentityInfo(generator = ObjectIdGenerators.PropertyGenerator.class, property = "id")
public abstract class AbstractPersistable implements Persistable<String> {
@Id
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid2")
@Column(name = "id", unique = true)
private String id;
// rest of code ommited
}
Many thanks,
Manos