this is the javabean:
| @Entity
| @Name("cnMessage")
| public class CnMessage implements Serializable
| {
| private int idt;
| private String cnMsg;
| private String enMsg;
|
|
| public CnMessage() {}
|
| public CnMessage(
| int idt,
| String cnMsg,
| String enMsg)
| {
| this.idt = idt;
| this.cnMsg = cnMsg;
| this.enMsg = enMsg;
| }
|
| @Id @GeneratedValue(strategy=GenerationType.IDENTITY)
| public int getIdt()
| {
| return idt;
| }
|
| public void setIdt(int idt)
| {
| this.idt=idt;
| }
|
| public String getCnMsg()
| {
| return cnMsg;
| }
|
| public void setCnMsg(String cnMsg)
| {
| this.cnMsg=cnMsg;
| }
|
| public String getEnMsg()
| {
| return enMsg;
| }
|
| public void setEnMsg(String enMsg)
| {
| this.enMsg=enMsg;
| }
|
|
|
|
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012770#4012770
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012770
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user