-
1. Re: 12.2.9
adrian.brock Dec 29, 2003 4:10 AM (in response to thunder_jb)The problem is with your JBUser interface.
Regards,
Adrian -
2. Re: 12.2.9
thunder_jb Jan 3, 2004 12:08 PM (in response to thunder_jb)Well, this is my interface:
public interface JBUser extends EJBObject {
public Long getUserId();
public void setUserId(Long userId) throws RemoteException;
public String getUsername() throws RemoteException;
public void setUsername(String username) throws RemoteException;
public String getPassword() throws RemoteException;
public void setPassword(String password) throws RemoteException;
}
It looks OK to me?
I have actually since dropped the underlying table and let JBoss recreate it from scratch so it should be consistent. As it stands I have 3 columns, the numerical PK and varchar2's for others. It's about as straightforward as tables get! -
3. Re: 12.2.9
gmatthews Jan 3, 2004 10:31 PM (in response to thunder_jb)I have a vague recollection of getting this error, and it turned out it was nothing to do with the actual error message.
I think (?) it was something to do with me not including the correct exceptions in the method declarations. Are you including throws RemoteException everywhere? -
4. Re: 12.2.9
juha Jan 5, 2004 2:32 AM (in response to thunder_jb)Your getUserId() is missing a RemoteException declaration.
-
5. Re: 12.2.9
thunder_jb Jan 9, 2004 5:19 AM (in response to thunder_jb)Ah! Yes that's probably it. Completely missed that.
Nothing like a second pair of eyes on your code...