<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Outstanding, thanks Antonio!<br>
<br>
<div class="moz-cite-prefix">On 09/13/2013 12:16 PM, Antonio
Goncalves wrote:<br>
</div>
<blockquote
cite="mid:CAKawoOY97_kv37pZMdN=dxWur2=LHn+MSBFdR=t7+uJty=B3UA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi George,
<div><br>
</div>
<div>Unfortunately I will never have time to do a pull request
(working on my JavaOne conferences). This issue is not
critical, I can do things differently for my demo... but I've
created a JIRA so we don't forget it for Forge 2 (<a
moz-do-not-send="true"
href="https://issues.jboss.org/browse/FORGE-1200">https://issues.jboss.org/browse/FORGE-1200</a>)</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2013/9/13 George Gastaldi <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:ggastald@redhat.com" target="_blank">ggastald@redhat.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> However,
pull-requests are more than welcomed! :)
<div>
<div class="h5"><br>
<br>
<div>On 09/13/2013 11:58 AM, George Gastaldi wrote:<br>
</div>
<blockquote type="cite"> That could be solved by
introducing a length parameter in the "field string"
plugin. <br>
However, since this is a new feature and Forge 1 is
feature-frozen, this will be addressed in Forge 2,
unless it's a critical feature.<br>
<br>
Best Regards,<br>
<br>
George Gastaldi<br>
<br>
<div>On 09/13/2013 11:52 AM, Antonio Goncalves
wrote:<br>
</div>
<blockquote type="cite">
<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><font face="courier new, monospace">field
string --named title ;<br>
</font></div>
<div><font face="courier new, monospace">constraint
Size --onProperty title --max 2000<br>
</font></div>
<div><br>
</div>
<div>I get : </div>
<div><br>
</div>
<div>
<div><font face="courier new, monospace">@Column</font></div>
<div><font face="courier new, monospace">@Size(max
= 2000)<br>
</font></div>
<div><font face="courier new, monospace">private
String title;</font></div>
</div>
<div><br>
</div>
<div>Even in Java EE 7, the integration between
JPA and Bean Validation hasn't been made. So
this doesn'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><font face="courier new, monospace">@Column(length
= 2000)</font></div>
<div><font face="courier new, monospace">@Size(max
= 2000)<br>
</font></div>
<div><font face="courier new, monospace">private
String title;</font></div>
</div>
</div>
<div><br>
</div>
<div>Looks like it'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>
<br>
<div class="gmail_quote"> 2012/12/29 George
Gastaldi <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:gegastaldi@icloud.com"
target="_blank">gegastaldi@icloud.com</a>></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
<<a moz-do-not-send="true"
href="mailto:robb.greathouse@jboss.com"
target="_blank">robb.greathouse@jboss.com</a>>
escreveu:<br>
<div>
<div><br>
> Hi,<br>
><br>
> 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>
><br>
> However, there is no "constraint
Length --onProperty xxx --max 350"
available in Forge.<br>
><br>
> Using "constraint Max" causes forge
to have a conversion error when
attempting to insert string data.<br>
><br>
> Robb Greathouse<br>
> Partner Enablement<br>
> Middleware Business Unit<br>
> JBoss, a Division of Red Hat<br>
> cellphone <a
moz-do-not-send="true"
href="tel:505-507-4906"
value="+15055074906" target="_blank">505-507-4906</a><br>
><br>
<br>
_______________________________________________<br>
forge-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:forge-dev@lists.jboss.org"
target="_blank">forge-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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>
<br>
<a moz-do-not-send="true"
href="http://www.antoniogoncalves.org/"
target="_blank">Web site</a> | <a
moz-do-not-send="true"
href="http://twitter.com/agoncal"
target="_blank">Twitter</a> | <a
moz-do-not-send="true"
href="http://www.linkedin.com/in/agoncal"
target="_blank">LinkedIn</a> | <a
moz-do-not-send="true"
href="http://www.parisjug.org/"
target="_blank">Paris JUG</a> | <a
moz-do-not-send="true"
href="http://www.devoxx.fr/" target="_blank">Devoxx
France</a> </div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
forge-dev mailing list
<a moz-do-not-send="true" href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a moz-do-not-send="true" href="https://lists.jboss.org/mailman/listinfo/forge-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/forge-dev</a></pre>
</blockquote>
<br>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
forge-dev mailing list
<a moz-do-not-send="true" href="mailto:forge-dev@lists.jboss.org" target="_blank">forge-dev@lists.jboss.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://www.antoniogoncalves.org/" target="_blank">Web
site</a> | <a moz-do-not-send="true"
href="http://twitter.com/agoncal" target="_blank">Twitter</a> | <a
moz-do-not-send="true"
href="http://www.linkedin.com/in/agoncal" target="_blank">LinkedIn</a> | <a
moz-do-not-send="true" href="http://www.parisjug.org/"
target="_blank">Paris JUG</a> | <a moz-do-not-send="true"
href="http://www.devoxx.fr/" target="_blank">Devoxx France</a>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
forge-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:forge-dev@lists.jboss.org">forge-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/forge-dev">https://lists.jboss.org/mailman/listinfo/forge-dev</a></pre>
</blockquote>
<br>
</body>
</html>