×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

help java question :Can I have two findByPrimaryKey methods?

I have a entity bean (BMP) with two findByPrimaryKey methods. It works well in iPlanet, when I migrate to weblogic. I can't ejbc these EJB classes.

public Account findByPrimaryKey(AccountPK primaryKey) throws FinderException, RemoteException;


public Account findByPrimaryKey(String primaryKey,String desc) throws FinderException, RemoteException;

I got the error: findByPrimaryKeyweblogic.ejb20.internal.MethodDescriptor,java.lang.Object) in weblogic.ejb20.internal.EntityEJBHome cannot be applied to (weblogic.ejb20.internal.MethodDescriptor,java.lang.String,java.lang.String) super.findByPrimaryKey(md_ejbFindByPrimaryKey_SS, arg0, arg1 );

So Is this avalible in Weblogic 6.0?
Report