"[EMAIL PROTECTED]" wrote : Can you give us the Assettypes class code ?
| Do you have an "id" property ?
this is code:
@Entity(access=PROPERTY)
@NamedQuery(name="findAllAssettypes", query="select object(o) from Assettypes
o")
@Table(name="AssetTypes")
public class Assettypes implements Serializable {
private long chartId;
private String code;
private String description;
private long id;
private long parentId;
// private Collection items;
public Assettypes() {
}
@Column(name="CHART_ID")
public long getChartId() {
return chartId;
}
public void setChartId(long chartId) {
this.chartId = chartId;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
@Id @GeneratedValue(strategy=GenerationType.IDENTITY)
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
@Column(name="PARENT_ID")
public long getParentId() {
return parentId;
}
public void setParentId(long parentId) {
this.parentId = parentId;
}
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942954#3942954
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942954
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user