Infinite recursion

Topics related to getting started with the Broadleaf Commerce framework.

Moderator: jocanas

Posts: 1
Joined: Thu Mar 09, 2017 3:24 pm

Infinite recursion

Postby rajaman » Thu Mar 16, 2017 3:10 pm

Hi, I have just started using broadleaf. I tried to write an Api call to fetch data from SkuBundleItemImpl table and got infinite recursion error . I looked into the SkuBundleItemImpl entity and found that it had @ManyToOne relationship with ProductBundleImpl which had @OneToMany relationship with SkuBundleItemImpl.

I know one of the solution is to use @JsonIgnore annotation in entity but entity code is in framework. So it's simply not possible to go and add this annotation. Could you guys give me a better approach to tackle this issue.

Return to “Getting Started”

Who is online

Users browsing this forum: No registered users and 3 guests