From: Vance K. <va...@us...> - 2007-01-17 01:20:45
|
User: vancek Date: 07/01/16 17:20:46 Modified: andromda-ejb3/src/site changes.xml Log: EJB-47 action Revision Changes Path 1.2 +7 -1 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.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- changes.xml 18 Dec 2006 02:02:34 -0000 1.1 +++ changes.xml 17 Jan 2007 01:20:46 -0000 1.2 @@ -332,11 +332,17 @@ settings to project pom.xml. </action> <action dev="vancek" due-to="tp" type="fix"> - JIRA-48 - Fix misspelt property names in EntityEmbeddable.vsl for table and sequence generator types. + JIRA EJB-48 - Fix misspelt property names in EntityEmbeddable.vsl for table and sequence generator types. </action> <action dev="vancek" type="update"> Moved the changes.xml to src/site. </action> + <action dev="vancek" due-to="sverker" type="add"> + JIRA EJB-47 - Complete remaining support for JBoss Seam within the EJB3 cartridge. Now uses + andromda-plugins-profile-seam profile. Support for AndroMDApp project generator in AndroMDA 3.3-SNAPSHOT. + 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> </release> </body> </document> \ No newline at end of file |
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 |
From: Vance K. <va...@us...> - 2007-01-24 04:37:54
|
User: vancek Date: 07/01/23 20:37:55 Modified: andromda-ejb3/src/main/resources/templates/ejb3 DaoBase.vsl andromda-ejb3/src/site changes.xml Log: fix DAO injection into DAO base where entity references another entity Revision Changes Path 1.12 +12 -9 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/DaoBase.vsl Index: DaoBase.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/DaoBase.vsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- DaoBase.vsl 23 Jan 2007 01:24:13 -0000 1.11 +++ DaoBase.vsl 24 Jan 2007 04:37:55 -0000 1.12 @@ -69,17 +69,20 @@ protected org.hibernate.Session hibernateSession; #end -#foreach($entityRef in $entity.entityReferences) - private $entityRef.targetElement.fullyQualifiedDaoName $entityRef.daoName; +#set ($entityReferences = $entity.entityReferences) +#if (!$entityReferences.empty) + // ------ DAO Injections ------ +#**##foreach($entityRef in $entityReferences) /** - * Sets the reference to <code>$entityRef.daoName</code>. + * Inject DAO $entityRef.targetElement.fullyQualifiedDaoName */ - public void ${entityRef.daoSetterName}($entityRef.targetElement.fullyQualifiedDaoName $entityRef.daoName) - { - this.$entityRef.daoName = $entityRef.daoName; - } + @javax.ejb.EJB + protected $entityRef.targetElement.fullyQualifiedDaoName $entityRef.daoName; +#**##end +#end +#foreach($entityRef in $entityReferences) /** * Gets the reference to <code>$entityRef.daoName</code>. */ 1.4 +7 -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.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- changes.xml 21 Jan 2007 04:17:40 -0000 1.3 +++ changes.xml 24 Jan 2007 04:37:55 -0000 1.4 @@ -347,6 +347,13 @@ 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> + <action dev="vancek" type="add"> + Inject org.hibernate.Session into DAO base class if hibernateExtensionEnabled is true. This can be used + to create Hibernate Search Criteria. + </action> + <action dev="vancek" type="fix"> + Fix DAO injection into DAO base when entity references another entity. + </action> </release> </body> </document> \ No newline at end of file |
From: Vance K. <va...@us...> - 2007-02-18 10:43:08
|
User: vancek Date: 07/02/18 02:43:08 Modified: andromda-ejb3/src/site changes.xml Log: fix default subscription durability for topics - set as NonDurable Revision Changes Path 1.11 +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.10 retrieving revision 1.11 diff -u -w -r1.10 -r1.11 --- changes.xml 17 Feb 2007 14:09:08 -0000 1.10 +++ changes.xml 18 Feb 2007 10:43:08 -0000 1.11 @@ -386,6 +386,10 @@ Also added 2 constraints to the EJB3EntityFacade class. These constraints override the default identifier check and generalization check constraints in the parent Entity metafacade. </action> + <action dev="vancek" due-to="Wzzl" type="fix"> + Set default topic subscription durability as NonDurable in case a Topic does not have the subscription + durability TV modelled. + </action> </release> </body> </document> \ No newline at end of file |