[jboss-user] [JBoss Seam] - Re: begin-conversation in Seam2 prevents data load

damianharvey do-not-reply at jboss.com
Fri Aug 3 06:47:24 EDT 2007


Thanks Pete. Any help is very much appreciated on this. Here is the PersonHome. It is unchanged from what was created by Seam Gen:

  | package com.locuslive.odyssey.entity;
  | 
  | import org.jboss.seam.annotations.Name;
  | import org.jboss.seam.framework.EntityHome;
  | 
  | @Name("personHome")
  | public class PersonHome extends EntityHome<Person> {
  | 
  | 	public void setPersonPersonid(Byte id) {
  | 		setId(id);
  | 	}
  | 
  | 	public Byte getPersonPersonid() {
  | 		return (Byte) getId();
  | 	}
  | 
  | 	@Override
  | 	protected Person createInstance() {
  | 		Person person = new Person();
  | 		return person;
  | 	}
  | 
  | 	public void wire() {
  | 	}
  | 
  | 	public boolean isWired() {
  | 		return true;
  | 	}
  | 
  | 	public Person getDefinedInstance() {
  | 		return isIdDefined() ? getInstance() : null;
  | 	}
  | 
  | }
  | 

Thanks,

Damian.

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

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



More information about the jboss-user mailing list