0 Replies Latest reply on Jul 23, 2014 11:24 AM by Rainer Schuster

    Lob of type String creates strange JPA code

    Rainer Schuster Newbie

      Dear community!



      I created a simple entity like this


      jpa-new-entity --named MyEntity

      jpa-new-field --type String --named text --lob


      The resulting JPA code is (note the type "B" instead of "String")


         @Column(length = 2147483647)
         private B text;
         public B getText()
            return text;
         public void setText(B text)
            this.text = text;


      Is this a bug or did I do something wrong?