1 Reply Latest reply on Aug 4, 2011 12:33 AM by Bernard Labno

    Data truncation: Data too long for column 'data' at row 1

    madhavi vaka Newbie

      Hi,

       

               i am using mysql. I created one table.and in that i have one column   "data"   . I did not mentined any length for this column. I mentioned

          @Column(name="data", nullable = false) ,@NotNull , @Lob and datatype of that column is byte[].

       

       

      But it shows  data too long.

       

       

      Anyone help to me.

       

      Thanks.