().addNachweis(nachwe
iseform.getModelObject());
may be causing the problem if hibernate tries to save kunde with
nachweiseform.getModelObject()
which is a new object with a null id.
You may try to move this line to saveNachweise().
On Mon, May 5, 2014 at 2:54 PM, Yahoo hansheinrichbr...@yahoo.de
the Database and implanted them newly in Kunde before storing. My hope
was to avoid this by using AbstractEntityModel.This works for all
Dependencies which are set in the Form
On Sun, May 4, 2014 at 1:02 PM, Yahoo hansheinrichbr...@yahoo.de wrote:
I have a suspicion: I have defened all
object are stored in the db, so I still believe the problem is
somewhere else in your code.
Marios
On Mon, May 5, 2014 at 11:26 AM, Yahoo hansheinrichbr...@yahoo.de wrote:
First I have to tell you concerning the mapping I used the wrong word the
dependencies in the mapping are not recursive bur
and everything should work just fine.
On Thu, May 1, 2014 at 10:30 PM, Yahoo hansheinrichbr...@yahoo.de wrote:
Ok,thank you, that's it.
My Entity has a lot of MANYTOONE relationships which are set
byDropDownChoices.
In the case of a new entity, do I have to load all these Entities too and
to save
.
On Sun, May 4, 2014 at 9:12 AM, Yahoo hansheinrichbr...@yahoo.de wrote:
It's the solution for all MANYTOONE-Fields defined in the Form
I have a MANYTOONE-Field which is preset and not set in the Form.
This field is not stored.
Am 02.05.2014 01:24, schrieb mscoon:
No you don't. The referenced
I have a suspicion: I have defened all dependencies with jpa or
hibernate annotation.
So I have also a lot of cicular dependencies, which sometimes make problem.
I will give you 2 examples. one which is OK when I use AbstractEntityModel
and on which makes problem, which is not set in the form
I tried the AbstractEntityModel
http://http://wicketinaction.com/2008/09/building-a-smart-entitymodel/
from Igor Vaynberg but I didn't get
solved the @Dependency annotation from Vaynbergs salve.
Is there another solution for the Hibernate integration for models.
Best regards
Heiner
, Yahoo hansheinrichbr...@yahoo.de wrote:
I tried the AbstractEntityModel http://http://wicketinaction.
com/2008/09/building-a-smart-entitymodel/ from Igor Vaynberg but I
didn't get
solved the @Dependency annotation from Vaynbergs salve.
Is there another solution for the Hibernate integration
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
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
= new
DropDownChoiceObjektart(objektart,
makeChoicesObjektart,objektartchoicerenderer);
add(objektart);
Am 14.04.2014 09:39, schrieb 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
11 matches
Mail list logo