length « Property « JPA Q&A

1. Hibernate not generating length property for varbinary, when performing a reverse engineer using hbm2hbmxml    stackoverflow.com

I'm not quite sure if the hbm2hbmxml part is relevant here but... I have a SqlServer db with a varbinary(4000) column that stores compressed data. When i run ANT to reverse ...

2. Using property length    forum.hibernate.org

3. Usefullness of "length" property on "property    forum.hibernate.org

4. Getting the length of a property programmatically    forum.hibernate.org

Nope, I mean the one I specified in the mapping file. I'm actually using annotations, but the idea's the same. I have: CREATE TABLE blah ( some_col VARCHAR2(32) ); So because it's 32, I put this in the mapping: @Basic @Column( name="some_col", length=32 ) <---- Need this! private String someCol; So I need to grab it from the property itself (mapping ...