1

I have only access to db and read-only access to hbm.xml files. It is need to increase column size. I see that in table/column definition in hbm.xml files for this table no attribute length. Should application work with increased column size in this case?

Charles
  • 50,943
  • 13
  • 104
  • 142
user710818
  • 23,228
  • 58
  • 149
  • 207

2 Answers2

4

Yes, it will. Hibernate doesn't care about the length of the columns.

Why don't you simply test it?

JB Nizet
  • 678,734
  • 91
  • 1,224
  • 1,255
2

Hibernate doesn't limit the length of it's attributes it's a limitation set at database level.

Normally DB will allocate enough length for the relevant fields.

Since you said you only have read access I don't think that it's relevant anyway...

Thihara
  • 7,031
  • 2
  • 29
  • 56