Hi, I have done that one as you said to try and worked , but I had problems on relations. In jboss and weblogic CMP mapping XML's relation defs are seperate from bean field mappings, and there <XDtEjbRel:forAllRelationships> tag isused. But for orion, I could not find a way to load a relation for the current bean. I think a new tag for this is needed. I should mention that I do not have so much knowledge on details of XDoclet , only learned from docs on homepage and browsing source.
-----Original Message----- From: Hani Suleiman [mailto:hani@;formicary.net] Sent: Friday, October 18, 2002 6:34 AM To: [EMAIL PROTECTED] Subject: [Xdoclet-user] Orion cmp mappings I'm going to update the orion templates to support @ejb.persistence, however I have a question about the ideal way to do this. In order to not break existing code, I thought I'd change the template to use the old style spec if there is no ejb.persistence tag, so the pseudocode would look like: if(method has ejb.persistence) use the specified column-name if(method does not have ejb.persistence and method has orion.persistence) use specified persistence-name Is that the correct approach? ------------------------------------------------------- This sf.net email is sponsored by: viaVerio will pay you up to $1,000 for every account that you consolidate with us. http://ad.doubleclick.net/clk;4749864;7604308;v? http://www.viaverio.com/consolidator/osdn.cfm _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
