4 Replies Latest reply on Jun 23, 2008 3:11 AM by Sandor Fiedler

    How can set longblob type in entitybean 3.0

    yj yj Newbie

      I use Jboss 4.2.2.G , Mysql 5.0 and entitybean 3.0. The problem I have is that the type of the object keeps tinyblob. I would want to change longblob but it does not work. Here is a code.

      public class Test implements Serializable {
      private static final long serialVersionUID = 1L;
      private Long id;

      @Lob @Column(name="cmd",columnDefinition="LONGBLOB",length=1000000)
      private Object cmd <-- this is always tinyblob.

      Does anyone know how to change to make longblob?.

      thanks