How to persist child entity in SEAM using EnitityHome persist method?

Try to look at project generated by seam-gen They use a "wire" method to initialize relations Basically on creating your instance you make sure that all relations point to their respective fooHome. Instance objects Then in your persist method you call first the persist method of the relation's EntityHome.

Try to look at project generated by seam-gen They use a "wire" method to initialize relations. Basically on creating your instance you make sure that all relations point to their respective fooHome. Instance objects.

Then in your persist method you call first the persist method of the relation's EntityHome.

No I did not use seam gen, I manually started the project from Jboss Dev studio. I will try to research on wire that you said. Thank you..^^ – Ellie Fabrero Oct 3 at 0:36 I solve my problem..thanks for your help.

Its the wire method. :) – Ellie Fabrero Oct 3 at 4:28.

If you've copied that code directly from your IDE, then the typo is probably the cause of your problems: value="#{customerHome.intance.customerDetails. Address}" should be value="#{customerHome.instance.customerDetails. Address}.

Actually the problem is i'm getting object resolve to null when I reference to child entity..no typo errors. :) – Ellie Fabrero Oct 3 at 0:35.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions