Hello

I'm using Value Objects (an Employee has 1:M
Addresses, so an Address has 1:1 Employee in return)
but when I deploy my bean and call I finder I get the
following exception in my App Server:

javax.ejb.EJBException: Reentrant method call
detected: Employee [.1.]

In the log I see the following:
at $Proxy108.getEmployeeConfidentialValue(Unknown
Source)
at
work.ejb.AddressesCMP.getAddressesConfidentialValue(Unknown
Source)
.......
at $Proxy111.getAddressesConfidentialValue(Unknown
Source)
at
work.ejb.EmployeeCMP.getEmployeeConfidentialValue(Unknown
Source) 

This works when I use normal EJB but not with Value
Objects (using xdoclet 1.2.0 beta 1, JDK1.4.0_01,
Solaris8, JBoss3.0.3).

Does anyone have a solution for this, it must be a
common thing?

Thanks for any help

Charlene

^^^^^^^^^^^^^^^^^^^^^^

Here are my XDoclet tags:

EmployeeBean - Class Level
     * @ejb.value-object    
     *     name="EmployeeConfidential"
     *     match="private"

EmployeeBean - Method Level     
     * @ejb.value-object    
     *       match="private"                          
     
     *      
aggregate="work.ejb.AddressesConfidentialValue"
     *       aggregate-name="AddressesView"
     *       members="work.ejb.AddressLocal"
     *       members-name="AddressesConfidential"
     *       relation="external"
     *       type="Collection"
     */
    public abstract Collection getAddresses();

AddressBean - Class Level
     * @ejb.value-object    
     *     name="AddressConfidential"
     *     match="private"
     
AddressBean - Method Level
     * @ejb.value-object    
     *       match="private"
     *      
aggregate="work.ejb.EmployeeConfidentialValue"
     *       aggregate-name="EmployeeView"
     */
    public abstract EmployeeLocal getEmployee();


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by: Are you worried about 
your web server security? Click here for a FREE Thawte 
Apache SSL Guide and answer your Apache SSL security 
needs: http://www.gothawte.com/rd523.html
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to