I try to create a table from hibernate annotations. I need to have a column of Double type, with the length specified like : (10,2).
So SQL syntax show like:
... DOUBLE(10,2) ....
I have tried to do that:
@Column(length = 10, precision = 2) ...
but when i look at my created table, it is not specified the length for Double column. Does hibernate has solution for that or is it necessary to alter table configuration by hand?
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…