3 Replies Latest reply on Oct 1, 2007 9:29 AM by wayne baylor

    hibernateexception: wrong column type in entity bean

    John McClain Newbie

      I am using sql server 2005 and I have an ntext field. What should my column annotation be in my entity bean for this type?
      When I use:
      @column(name="descr") on my field getter, I get the "wrong column type... expected varchar(255)" error. How do you specify column annotations for ntext, nvarchar, and other special types that sql server has. Pointers to documentation on this issue would be appreciated. Thanks