[jboss-user] [EJB 3.0] - Re: mapping problems between ntext, jtds and ejb3

leulberg do-not-reply at jboss.com
Sun Jul 16 10:51:07 EDT 2006


I solved my problem.

I annotated the setter and not the getter. Is it neccessary to annotate the getter because of any spec? Which one?

My code looks like below, now.


  | 	/**
  | 	 * TextArea message
  | 	 */
  | 	@Lob @Column(columnDefinition="NTEXT NULL")
  | 	public String getMessage(){
  | 		return this.message;
  | 	}
  | 
  | 	public void setMessage(String s){
  | 		this.message = s;
  | 	}
  | 




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

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



More information about the jboss-user mailing list