|Hi there,
|
|in a BMP entity bean, I tried to implement a findermethod
|'findByName(String
|name)' which does a select on a table 'where name like ...' , collects the
|resulting primary key fields (String) in a Vector and returns an
|Enumeration
|with vector.elements(). A debugstatement in the
|UserBean.ejbFindByName(String
|name) reports the expected values.
|In a testclient I wrote, findByPrimaryKey works fine, but if I try
|to iterate
|over the Enumeration returned by 'findByName(String name)' (with
| 'String key = userList.nextElement().toString()'), I got
|jndi-ref-name + ":" +
|expected-key instead of expected-key.
|Any hints what I'm doing wrong ??
|BTW: I'm using Beta3 with jdk1.3 on Solaris

if you system.out then the logger prepends with your bean name that is
normal.

marc

|
|best regards
|tom
|
| --
|THETA - Consulting
|Kommuniktionsanalyse - Anwendungsentwicklung - LINUX-Systeme
|
|Thomas Hagedorn                         Tel. 07231-472108
|Rainstr. 12                                     Tel. 0172-7642398
|75217 Birkenfeld                         [EMAIL PROTECTED]
|
|Jesus inside - where do you want to go forever ?
|
|
|--
|--------------------------------------------------------------
|To subscribe:        [EMAIL PROTECTED]
|To unsubscribe:      [EMAIL PROTECTED]
|Problems?:           [EMAIL PROTECTED]
|
|



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to