
|
If you were logged in you would be able to see more operations.
|
|
EJB Cartridge
Created: 27/Jul/07 03:04 PM
Updated: 27/Jul/07 03:04 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
None
|
|
Hello,
As described in http://galaxy.andromda.org/forum/viewtopic.php?t=2547 setting @andromda.persistence.column.length = x,y does not properly set the @org.hibernate.validator.Length(min = x, max = y) annotation. When looking at EntityEmbeddable.vsl one can see that it is not yet implemented:
#* *##if ($attribute.columnLength)
@org.hibernate.validator.Length(max = $attribute.columnLength)
#* *##end
and you get
@org.hibernate.validator.Length(max = 5,15)
which doesn't compile.
I looked through the Velocity Template Language docs and couldn't find any way of splitting a string to separate x and y from the $attribute.columnLength variable. If someone knows then the fix would be easy.
-Leandro
|
|
|
There are no comments yet on this issue.
|
| |
|
|