|Erm... fools rush in where angels fear to tread and all... but doesn't
|findByXXX return a collection of remote interfaces? Not a collection
|of primary keys? Someone tell me I'm right here, please?
|
|Section 8.3.2:
|
|"The return type of a finder method must be the entity bean's remote
| interface, or a type representing a collection of objects that
| implement the entity bean's remote interface (see Subsection 9.1.8)."
yes you are right. You were doing a ref.toString() right?
or system.out.println(ref) (equivalent)
and then of course the proxy code returns JNDI name of bean + value of
key... ts-ts
regards
marc
PS: try system.out.println(ref.getPRimaryKey().toString())
god help us!
|
|Tom
|
|
|--
|--------------------------------------------------------------
|To subscribe: [EMAIL PROTECTED]
|To unsubscribe: [EMAIL PROTECTED]
|Problems?: [EMAIL PROTECTED]
|
|
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]