Hello again.
I'm trying to use a entity bean to maintain a table, but i want to truncate 
data if it's longer than column's table definition.  The annotation i'm using 
in the entity bean is :
    @Column(name = "descripcion", length=100)    
    private String descripcion;

In theory, Jboss should truncate the data to 100 characters if longer, but it 
didnt.  Jboss isnt truncating anything. I dont know if the attribute of length 
must be used for that, for size limitations or is intended for another thing. 
Thank you very much for your help.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139800#4139800

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139800
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to