to become explicit i am using your automatic WebApplicationcreation I have a
Class Objekt with the onetomany relation: @XmlTransient
@OneToMany(cascade={CascadeType.ALL},fetch=FetchType.LAZY)
@JoinColumn(name="objektid",nullable=false ) private List<Nachweis> nachweise
= new ArrayList<Nachweis>(); i call this relation in the class
ObjektTreepublic class ObjektTree extends BasePage
and call the relation by
Iterator iterator2=objekt.getNachweise().iterator()
and get the errororg.hibernate.LazyInitializationException: failed to lazily
initialize a collection of role: braunimmobilien.model.Objekt.nachweise, could
not initialize proxy - no Session
Thank you
Am Donnerstag, 21. Dezember 2017, 12:44:44 MEZ hat Andrea Del Bene
<[email protected]> Folgendes geschrieben:
Hi,
could you please give more details about your problem (stacktrace, yhe
example application you are using, etc...)?
Thank you
On Wed, Dec 20, 2017 at 5:09 PM, Hans-Heinrich Braun <
[email protected]> wrote:
> I tried to transfer my application to com.giffing.wicket.spring.boot.starter
> 1.0.8.Following the wicket tree example i tried to transfer my tree
> structure to the Webapplication therefare i tried to extend
> WicketBootSecuredWebApplication but then the application complained about
> authorization problems in wicket.In my repository i use lazy loading.
> apparently the example application doesn't offer it and i i didn't succeed
> to offer it in my subclassed WicketBootSecuredWebApplication.What is the
> status of these 2 configuration abilities concerning the upper mentioned
> environment.
> Thanks for response
>