5 Replies Latest reply on Nov 6, 2016 4:05 PM by Maurizio Giacomelli

    Any recommended strategy for Angular/REST scaffolds with JPA bidirectional relationships

    Matthew Casperson Newbie

      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?