Re: peculiarities with wicket hibernate

2014-04-17 Thread Yahoo
Solved: It was the definition of the equals function in the hibernate beans. Am 14.04.2014 10:29, schrieb Yahoo: I got a step further with the following definitions I succeded to Insert the ManyToOne relationships. Only the DropDownChoices don't write the changes back in the Model: In the

peculiarities with wicket hibernate

2014-04-14 Thread Yahoo
I serarated the hibernate part in an own maven modul. I the tests in this modul everything works well. I use a lot of many to one relationships. In the web application I get sometimes problems, that the key of a many to one relationship is not written or the DropDownChoice does'nt write the

Re: peculiarities with wicket hibernate

2014-04-14 Thread Yahoo
I got a step further with the following definitions I succeded to Insert the ManyToOne relationships. Only the DropDownChoices don't write the changes back in the Model: In the hybernate model: @ManyToOne(cascade = CascadeType.REFRESH,fetch=FetchType.EAGER)