From: Vance K. <va...@us...> - 2007-01-21 04:17:39
|
User: vancek Date: 07/01/20 20:17:40 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml cartridge.xml andromda-ejb3/src/site changes.xml Log: fix entity to/from entityVO conversion in DAO base class Revision Changes Path 1.32 +9 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -w -r1.31 -r1.32 --- namespace.xml 24 Aug 2006 08:54:31 -0000 1.31 +++ namespace.xml 21 Jan 2007 04:17:40 -0000 1.32 @@ -1170,6 +1170,15 @@ framework for Java EE 5. </documentation> </property> + <property name="javaTypeConversionIgnoreList" required="false"> + <documentation> + A list of one or more fully qualified java types that should be ignored whenever a type conversion + needs to be done. Currently, there is an issue with ValueObjects generated with the Java Axis + mappings that causes the relevant cartidge to generate DAO "entity to value object" type conversions + incorrectly for all date types. By listing those date types here, the relevant cartridge will not + attempt to auto-generate conversions for date/time related attributes. + </documentation> + </property> </propertyGroup> </properties> </namespace> \ No newline at end of file 1.32 +3 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/cartridge.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -w -r1.31 -r1.32 --- cartridge.xml 25 Jul 2006 06:42:51 -0000 1.31 +++ cartridge.xml 21 Jan 2007 04:17:40 -0000 1.32 @@ -9,6 +9,9 @@ <templateObject name="stringUtils" className="org.apache.commons.lang.StringUtils"/> <templateObject name="collectionUtils" className="org.apache.commons.collections.CollectionUtils"/> <templateObject name="transform" className="org.andromda.cartridges.ejb3.EJB3ScriptHelper"/> + <templateObject name="converter" className="org.andromda.utils.JavaTypeConverter"> + <property reference="javaTypeConversionIgnoreList"/> + </templateObject> <!-- cartridge-templateObject merge-point--> 1.3 +4 -0 cartridges/andromda-ejb3/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/changes.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- changes.xml 17 Jan 2007 01:20:46 -0000 1.2 +++ changes.xml 21 Jan 2007 04:17:40 -0000 1.3 @@ -343,6 +343,10 @@ This (EJB3 cartridge with Seam support) is NOT a replacement for the Seam cartridge, but another tool which can be used with the Seam cartridge to develop Seam (JSF)/EJB 3.0 enabled web application. </action> + <action dev="vancek" type="fix"> + Fix Entity - EntityVO conversion methods in the DAO base classes by adding the Converter + template object to the cartridge.xml and the necessary namespace property to namespace.xml. + </action> </release> </body> </document> \ No newline at end of file |