From: Alistair Y. <ali...@sm...> - 2006-05-19 07:45:22
|
Before I dive off into bodguts, has anyone seen this before, or any suggestions as to why it happens? UserDetail bodUserDetail = UserDetail.findUserDetail (user.getPrimaryKey()) where user = org.bodington.server.realm.User always gives a ClassCastException. Is a User.PrimaryKey different from a UserDetail.PrimaryKey? Always have to use sql to get UserDetail from a User. Alistair |