简体   繁体   English

在Google App Engine中进行错误调试

[英]Error debugging in Google App Engine

Can somebody please tell what might be the cause of the following error? 有人可以告诉以下错误原因吗?

Error in meta-data for com.admin.AdminLogin.empId: Unsupported primary key type: int com.admin.AdminLogin.empId的元数据错误:不支持的主键类型:int

int is unsupported type for AppEngine keys, use Long instead. AppEngine密钥不支持int类型,请改用Long。

See http://code.google.com/appengine/docs/java/datastore/jdo/creatinggettinganddeletingdata.html#Keys 请参阅http://code.google.com/appengine/docs/java/datastore/jdo/creatinggettinganddeletingdata.html#Keys

Hope this help 希望这个帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM