views:

48

answers:

1

How to ask CF9 ORM (hibernate) to use CHAR(2) as sql column type?

A: 
component persistent=true {
    property name="id" fieldtype="id" ormtype="integer" generated="always" generator="identity";
    property name="char2Prop" fieldtype="column" sqltype="char(2)";
}
Henry