0 Replies Latest reply on Jul 23, 2014 11:24 AM by rainer.schuster

    Lob of type String creates strange JPA code

    rainer.schuster

      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")

       

         @Lob
         @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?

       

       

      Thanks!

       

      Rainer