Increase the size of elements in a @ElementCollection
<p>I have an <code>@Entity</code> in JPA which has a <code>@ElementCollection</code> like this:</p>

<pre><code>@ElementCollection(fetch=FetchType.EAGER)
List&lt;String&gt; photodescription = new ArrayList&lt;&gt;();
</code></pre>

<p>The problem is that by default, the Column for any <code>photodescription</code> is a <code>VARCHAR(255)</code>.
I need to increase that to 10000.</p>

<p>Exists any anotation for the elements from a <code>@ElementCollection</code> to set a maximum size like <code>@Size(max=1000)</code> which is used for a simple String?</p>