How to ask CF9 ORM to use CHAR(2)?
-
20-09-2019 - |
Question
How to ask CF9 ORM (hibernate) to use CHAR(2) as sql column type?
Solution
component persistent=true {
property name="id" fieldtype="id" ormtype="integer" generated="always" generator="identity";
property name="char2Prop" fieldtype="column" sqltype="char(2)";
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow