[forge-users] Any recommended strategy for Angular/REST scaffolds with JPA bidirectional relationships

forge-users at lists.jboss.org forge-users at lists.jboss.org
Wed Nov 26 14:56:57 EST 2014


I recently attempted to migrate from the JSF to the Angular UI scaffolds, but I could not find a nice solution that would allow Jackson to serialize bidirectional relationships.

The @JsonManagedReference and @JsonBackReference annotations (http://wiki.fasterxml.com/JacksonFeatureBiDirReferences) worked well in preventing infinite loops during serialization, but unfortunately because anything annotated with @JsonBackReference is not serialized, the scaffold UI ended up showing incomplete information.

Is there a quickstart or something similar that demonstrates entities with bidirectional relationships displayed by the Angular Scaffold?

Posted by forums
Original post: https://developer.jboss.org/message/911623#911623


More information about the forge-users mailing list