I have enum:
public enum MyEnum { ValueOne, ValueTwo };
I have entity with column:
@Column(nullable = true, length=255)
@Enumerated(EnumType.STRING) public MyEnum myEnum;
Table in DB have colmun of size 1020 (varchar 1020), but I specified length =
255,
if length = 80, then column varchar 320, if length 40 column 160.
It seems than engine multiples length by 4.
Why is so?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962214#3962214
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962214
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user