Hibernate version: 3.3.1.GA
Mapping documents: persistence.xml
Name and version of the database you are using: MS SQL 2005
I'm wondering if there is an annotation to have hbm2ddl generate a char() instead of a varchar() column type (without using columnDefinition.)
So, if I have a field like:
Code:
@Column(name="bork", length=4, nullable=false)
private String bork;
Is there a way to get the column definition from hbm2ddl as
Code:
bork char(4) not null,
instead of
Code:
bork varchar(4) not null,
apart from using
Code:
@Column(name="bork", length=4, nullable=false,columnDefinition="char(4)")
Thanks for any/all help. :).