| Hi, Deepak. By default, DataNucleus implementation has a default length for String fields of 255 [1], despite it can be changed by config. If you want longer lengths, you must explicitly add it to the @Column annotation. Simply replace your code by: private String response; @javax.jdo.annotations.Column(allowsNull = "true", jdbcType = "text", length = 1000) @MemberOrder(name = "Response", sequence = "11") @MultiLine(numberOfLines = 10) @TypicalLength(800) public String getResponse() { return response; } Perhaps the @TypicalLength could be deduced from the @Column(length...), but "Typical" is not the same as "Max" length (as the @Column annotation indicates)... In Estatio, Dan and Jeroen have centralized all data types lengths to an external class, and I find it particularly useful. See [2]. HTH, Oscar El 28/01/2014, a las 07:45, Dan Haywood <[email protected]> escribió: It might be the database you're using that has that limit, and/or the Óscar Bou Bou Responsable de Producto Auditor Jefe de Certificación ISO 27001 en BSI CISA, CRISC, APMG ISO 20000, ITIL-F Este mensaje y los ficheros anexos son confidenciales. Los mismos contienen información reservada que no puede ser difundida. Si usted ha recibido este correo por error, tenga la amabilidad de eliminarlo de su sistema y avisar al remitente mediante reenvío a su dirección electrónica; no deberá copiar el mensaje ni divulgar su contenido a ninguna persona. Su dirección de correo electrónico junto a sus datos personales constan en un fichero titularidad de Gesdatos Software, S.L. cuya finalidad es la de mantener el contacto con Ud. Si quiere saber de qué información disponemos de Ud., modificarla, y en su caso, cancelarla, puede hacerlo enviando un escrito al efecto, acompañado de una fotocopia de su D.N.I. a la siguiente dirección: Gesdatos Software, S.L. , Paseo de la Castellana, 153 bajo - 28046 (Madrid), y Avda. Cortes Valencianas num. 50, 1ºC - 46015 (Valencia). Asimismo, es su responsabilidad comprobar que este mensaje o sus archivos adjuntos no contengan virus informáticos, y en caso que los tuvieran eliminarlos. |
- Maxlength for Text type Deepak Gopalakrishnan
- Re: Maxlength for Text type Dan Haywood
- Re: Maxlength for Text type GESCONSULTOR - Óscar Bou
- Re: Maxlength for Text type Deepak Gopalakrishnan
- Re: Maxlength for Text type matias nahuel heredia
- Re: Maxlength for Text type Deepak Gopalakrishnan
