【问题标题】:How to ask CF9 ORM to use CHAR(2)?如何让 CF9 ORM 使用 CHAR(2)?
【发布时间】:2009-08-28 16:32:51
【问题描述】:

如何让CF9 ORM(hibernate)使用CHAR(2)作为sql列类型?

【问题讨论】:

标签: coldfusion coldfusion-9


【解决方案1】:
component persistent=true {
    property name="id" fieldtype="id" ormtype="integer" generated="always" generator="identity";
    property name="char2Prop" fieldtype="column" sqltype="char(2)";
}

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多