[jboss-user] [JBoss Seam] - Re: Long vs long for ID and InvalidStateException

damianharvey do-not-reply at jboss.com
Wed Oct 24 09:43:52 EDT 2007


None. Exactly as generated (aside from the long v Long):
  | 	@Id
  | 	@GeneratedValue(strategy = IDENTITY)
  | 	@Column(name = "ONE_TIME_ID", unique = true, nullable = false)
  | 	@NotNull
  | 	public long getOneTimeId() {
  | 		return this.oneTimeId;
  | 	}
  | 
  | 	public void setOneTimeId(long oneTimeId) {
  | 		this.oneTimeId = oneTimeId;
  | 	}
  | 
Cheers,

Damian.

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

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



More information about the jboss-user mailing list