[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3900) error in creating seam entity
Thiru Neela (JIRA)
jira-events at lists.jboss.org
Mon Jan 19 07:43:04 EST 2009
error in creating seam entity
-----------------------------
Key: JBSEAM-3900
URL: https://jira.jboss.org/jira/browse/JBSEAM-3900
Project: Seam
Issue Type: Task
Components: Seam Text
Affects Versions: 2.0.1.GA
Reporter: Thiru Neela
Fix For: 2.0.1.GA
Hi !
I am creating one single seam-entity, but the code is not created completly
my table has the following fields (tid,tname,date1,Id),
the seam generated code as follows
package org.domain.hi.entity;
import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.Version;
import org.hibernate.validator.Length;
@Entity
public class Tramsactopm1 implements Serializable {
//seam-gen attributes (you should probably edit these)
private Long id;
private Integer version;
private String name;
//add additional entity attributes
//seam-gen attribute getters/setters with annotations (you probably should edit)
@Id @GeneratedValue
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
@Version
public Integer getVersion() {
return version;
}
private void setVersion(Integer version) {
this.version = version;
}
@Length(max=20)
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
my question is why is not creating complete code for all the fileds
cany any one help to solve this problem
thanks in advance
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list