<div dir="ltr">I&#39;ve actually just changed my demo. I&#39;m using Amazon web services to parse Java EE 7 books and the description of a book can be quite long (&gt;250 chars), so I&#39;ve just trimmed it to 255. So that&#39;s fine for me. It&#39;s an interesting feature to have that might disappear in Java EE 8 (@Size (max=2000) hopefully will be interpreted by JPA). But in the meantime, a --length field would help... but it can wait till Forge 2 (can&#39;t wait to start using it ;o)<div>
<br></div><div>See you at J1</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/13 Lincoln Baxter, III <span dir="ltr">&lt;<a href="mailto:lincolnbaxter@gmail.com" target="_blank">lincolnbaxter@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey Antonio. We are actually feature locked, as George mentioned, for Forge 1, but... give you are presenting Forge at J1, we might be able to spend a little time on this for you. Let me have someone look and see how much effort this would take. No promises yet.<div>

<br></div><div>How much do you need this?<br><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 11:19 AM, George Gastaldi <span dir="ltr">&lt;<a href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Apparently there wasn&#39;t a JIRA for this. <br>
    <br>
    Robb, I don&#39;t have this information that it was planned in the
    roadmap, do you have any information about the version that it
    should have been fixed?  <br><div><div>
    <br>
    <div>On 09/13/2013 12:13 PM, Robb Greathouse
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div style="font-size:12pt;font-family:times new roman,new york,times,serif">
        <div>I was told that it was on the roadmap and was going to be
          added.  Don&#39;t know if it happened.<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><span name="x"></span>Robb Greathouse<br>
          Partner Enablement<br>
          Middleware Business Unit<br>
          JBoss, a Division of Red Hat<br>
          cellphone <a href="tel:505-507-4906" value="+15055074906" target="_blank">505-507-4906</a><span name="x"></span><br>
        </div>
        <div><br>
        </div>
        <hr>
        <blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">
          <div dir="ltr">Hi all,
            <div><br>
            </div>
            <div>I am trying to do exactly the same : generate an entity
              with a @Column (length=2000). Looks like it is still not
              possible. Am I right ? If I do :</div>
            <div><br>
            </div>
            <div><span style="font-family:courier new,monospace" face="courier new, monospace">field string --named title
                ;<br>
              </span></div>
            <div><span style="font-family:courier new,monospace" face="courier new, monospace">constraint Size
                --onProperty title --max 2000<br>
              </span></div>
            <div><br>
            </div>
            <div>I get : </div>
            <div><br>
            </div>
            <div>
              <div><span style="font-family:courier new,monospace" face="courier new, monospace">@Column</span></div>
              <div><span style="font-family:courier new,monospace" face="courier new, monospace">@Size(max = 2000)<br>
                </span></div>
              <div><span style="font-family:courier new,monospace" face="courier new, monospace">private String title;</span></div>
            </div>
            <div><br>
            </div>
            <div>Even in Java EE 7, the integration between JPA and Bean
              Validation hasn&#39;t been made. So this doesn&#39;t work (i.e.
              create a column in the DB with 2000 char long). What I
              would need is :</div>
            <div><br>
            </div>
            <div>
              <div>
                <div><span style="font-family:courier new,monospace" face="courier new, monospace">@Column(length = 2000)</span></div>
                <div><span style="font-family:courier new,monospace" face="courier new, monospace">@Size(max = 2000)<br>
                  </span></div>
                <div><span style="font-family:courier new,monospace" face="courier new, monospace">private String title;</span></div>
              </div>
            </div>
            <div><br>
            </div>
            <div>Looks like it&#39;s not doable, but I might be wrong.</div>
            <div><br>
            </div>
            <div>Thanks</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
          <div class="gmail_extra"><br>
            <div><br>
            </div>
            <div class="gmail_quote">
              2012/12/29 George Gastaldi <span dir="ltr">&lt;<a href="mailto:gegastaldi@icloud.com" target="_blank">gegastaldi@icloud.com</a>&gt;</span><br>
              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                Change the value in your @Column annotation. Thats JPA
                Standard.<br>
                <br>
                George Gastaldi<br>
                <br>
                Em 28/12/2012, ās 20:17, Robb Greathouse &lt;<a href="mailto:robb.greathouse@jboss.com" target="_blank">robb.greathouse@jboss.com</a>&gt;
                escreveu:<br>
                <div>
                  <div><br>
                    &gt; Hi,<br>
                    &gt;<br>
                    &gt; Was trying to change the length on String from
                    the VarChar(255).  In Hibernate this can be done by
                    specifying @Length(max=350) (for example.<br>
                    &gt;<br>
                    &gt; However, there is no &quot;constraint Length
                    --onProperty xxx --max 350&quot; available in Forge.<br>
                    &gt;<br>
                    &gt; Using &quot;constraint Max&quot; causes forge to have a
                    conversion error when attempting to insert string
                    data.<br>
                    &gt;<br>
                    &gt; Robb Greathouse<br>
                    &gt; Partner Enablement<br>
                    &gt; Middleware Business Unit<br>
                    &gt; JBoss, a Division of Red Hat<br>
                    &gt; cellphone <a href="tel:505-507-4906" target="_blank">505-507-4906</a><br>
                    &gt;<br>
                    <br>
                    _______________________________________________<br>
                    forge-dev mailing list<br>
                    <a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
                    <a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
            <br clear="all">
            <div><br>
            </div>
            -- <br>
            Antonio Goncalves <br>
            Software architect and Java Champion<br>
            <div><br>
            </div>
            <a href="http://www.antoniogoncalves.org/" target="_blank">Web
              site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
          </div>
        </blockquote>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
forge-dev mailing list
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a></pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><span class="HOEnZb"><font color="#888888">Lincoln Baxter, III<br>
<a href="http://ocpsoft.org" target="_blank">http://ocpsoft.org</a><br>

&quot;Simpler is better.&quot;
</font></span></div></div></div>
<br>_______________________________________________<br>
forge-dev mailing list<br>
<a href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Antonio Goncalves <br>Software architect and Java Champion<br>
<br><a href="http://www.antoniogoncalves.org/" target="_blank">Web site</a> | <a href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a href="http://www.parisjug.org/" target="_blank">Paris JUG</a> | <a href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</div>