Hi,
I'm still working on adding RPC on the demo site and still have troubles. I managed to add Broadleaf services, such as CatalogServices. I can call methodes of this service, but there is a problem when returning the result to RPC.
I got the org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: org.broadleafcommerce.core.catalog.domain.SkuImpl.skuMedia no session or session was closes.
I googled this error, and it's because the hibernate session has closed, or after the object has been detached from the session. They suggested to set the key lazy="false" in the hibernate mapping file. I'd like to know which files I have to modify and where they are stored.
Thanks
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.