11/02/2009

Problems with reserved word

輸入>zero model sync


CWPZC9225I: Using default Derby database configuration. Located at -> db/resource in application root.
CWPZC9021E: failed
CWPZC9244E: Field name -> source of model -> XXXXX is a reserved word and cannot be used
CWPZT0601E: Error: Command model sync failed 




如果你的model名稱是XXXXX, 檢查欄位名稱(Field Name)是否有保留字, 請參考
http://www.projectzero.org/sMash/1.1.x/docs/zero.devguide.doc/zero.resource/declaration.html field name restrictions

例如"version" 就是保留字不能使用