标签: coldfusion coldfusion-9
如何让CF9 ORM(休眠)使用CHAR(2)作为sql列类型?
答案 0 :(得分:2)
component persistent=true { property name="id" fieldtype="id" ormtype="integer" generated="always" generator="identity"; property name="char2Prop" fieldtype="column" sqltype="char(2)"; }