Topic: primary key was null

  Print this page

1.primary key was null Copy to clipboard
Posted by: zouqinbin
Posted on: 2006-08-28 11:54

ic=new InitialContext(ht);
Object obj = ic.lookup("Users");
UsersRemoteHome home = (UsersRemoteHome)javax.rmi.PortableRemoteObject.narrow(obj,UsersRemoteHome.class);
// calc=home.create();
calc = home.findByPrimaryKey(logname);

最后一句出现错误,说primary key was null,是什么原因啊?


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923