[jboss-user] [JBoss Seam] - Re: Semantics of @Name, @DataModelSelection
jacob.orshalick
do-not-reply at jboss.com
Mon Oct 1 14:38:48 EDT 2007
Sorry, the factory method in the above snippet should read,
...
| @Factory(value="person")
| public void loadPerson() {
| if (pid != null) {
| person = (Person) em.find(Person.class, pid);
| } else {
| person = new Person ();
| }
| }
| ...
No value should be passed into the loadPerson method.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090377#4090377
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090377
More information about the jboss-user
mailing list