[jboss-user] [EJB 3.0] - Re: CascadeType.PERSIST question

ttrepper do-not-reply at jboss.com
Sun Sep 9 11:50:52 EDT 2007


Hi waynebylor, 

thank you for your answer - sorry, i forget to attach the code. Here it is:
package com.auctonova.ejb.persistence;
  | 
  | import java.io.Serializable;
  | 
  | import javax.persistence.Entity;
  | import javax.persistence.Column;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | 
  | 
  | @Entity
  | @Table(name="PersonHasCustomization")
  | public class PersonHasCustomization implements Serializable {
  | 	private static final long serialVersionUID = 1L;
  | 	private String locale;
  | 	private long partyidperson;
  | 
  | 	//--------------------------------------------------------------------------
  | 	public String getLocale() {
  | 		return this.locale;
  | 	}
  | 
  | 	//--------------------------------------------------------------------------
  | 	public void setLocale(String locale) {
  | 		this.locale = locale;
  | 	}
  | 
  | 	//--------------------------------------------------------------------------
  | 	@Id 
  | 	public long getPartyidperson() {
  | 		return this.partyidperson;
  | 	}
  | 
  | 	//--------------------------------------------------------------------------
  | 	public void setPartyidperson(long partyidperson) {
  | 		this.partyidperson = partyidperson;
  | 	}
  | }
  | 

I have still not found the solution. Thank you for your help.

Thomas

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

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



More information about the jboss-user mailing list