[jboss-user] [JBoss Seam] - Re: EntityHome persist problem

codelion do-not-reply at jboss.com
Fri Feb 16 10:38:39 EST 2007


While I didn't look close enough to determine whether there are other problems, from my own experience I know sooner or later you could run into a problem with that factory being invoked only once in a conversation, and hence your factory made instance not being the same as the one home uses.

Hence, while you still may be having another problem, one first change I'd make is to forget about that advice in the reference manual to use the shorter syntax with a factory made instance, and rather than

value="#{uGroup.name}"
  | value="#{uGroup.ugrouptype}"
  | ...

instead use the longer but always correct syntax

value="#{groupHome.instance.name}"
  | value="#{groupHome.instance.ugrouptype}"
  | ...

Then go find your remaining problems, if any.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017682#4017682

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017682



More information about the jboss-user mailing list