Joao Miguel Garcia
2002-06-20 11:55:10 UTC
Guys,
1.
In the CVS update below, Aslak Hellesoy removed from the EJB template the getData/setData functionality. Why was this needed? This breaks existing code based on Data Object implementations, and I still cannot see a clear reason for its removal. Was it replaced by an alternative functionality? Was it a simple code drop? If so, how do you suggest an alternative solution?
http://sourceforge.net/mailarchive/message.php?msg_id=1696383
2.
Moreover, in the same update, the CMR relationship fields are set using setID() operations in the ejbCreate methods. I believe that the correct implementation would be setting the Relationship directly IN THE POSTCREATE method, i.e. setCity (City c), instead of setting the ID's. With the current implementation, Weblogic seriously complains with spec violation errors.
Thanks in advance
Hugo José Pinto
***@hugopinto.com
1.
In the CVS update below, Aslak Hellesoy removed from the EJB template the getData/setData functionality. Why was this needed? This breaks existing code based on Data Object implementations, and I still cannot see a clear reason for its removal. Was it replaced by an alternative functionality? Was it a simple code drop? If so, how do you suggest an alternative solution?
http://sourceforge.net/mailarchive/message.php?msg_id=1696383
2.
Moreover, in the same update, the CMR relationship fields are set using setID() operations in the ejbCreate methods. I believe that the correct implementation would be setting the Relationship directly IN THE POSTCREATE method, i.e. setCity (City c), instead of setting the ID's. With the current implementation, Weblogic seriously complains with spec violation errors.
Thanks in advance
Hugo José Pinto
***@hugopinto.com