gdamour 2005/09/10 10:49:08
Modified: modules/openejb-builder/src/test-ear/META-INF
geronimo-application.xml
Log:
GERONIMO-710 Generating DDLs for CMP deployment.
o An Ant task to export the DDL associated to the CMP of an ejb-jar module.
o Refactor CMPEntityBuilder: all the logic specific to the creation of the
three TranQL schemata is refactored within SchemataBuilder.
Revision Changes Path
1.2 +34 -0
openejb/modules/openejb-builder/src/test-ear/META-INF/geronimo-application.xml
Index: geronimo-application.xml
===================================================================
RCS file:
/home/projects/openejb/scm/openejb/modules/openejb-builder/src/test-ear/META-INF/geronimo-application.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- geronimo-application.xml 10 Nov 2004 01:35:16 -0000 1.1
+++ geronimo-application.xml 10 Sep 2005 14:49:08 -0000 1.2
@@ -19,4 +19,38 @@
<application xmlns="http://geronimo.apache.org/xml/ns/j2ee/application"
configId="org/apache/geronimo/j2ee/deployment/test"
parentId="org/apache/geronimo/Server">
+
+ <module>
+ <ejb>test-ejb-jar.jar</ejb>
+ <openejb-jar
+ xmlns="http://www.openejb.org/xml/ns/openejb-jar"
+ configId="org/openejb/deployment/test">
+
+ <cmp-connection-factory>
+ <application>null</application>
+ <module>org/apache/geronimo/DefaultDatabase</module>
+ <name>DefaultDatasource</name>
+ </cmp-connection-factory>
+
+ <enterprise-beans>
+ <entity>
+ <ejb-name>SimpleCMPEntity</ejb-name>
+ <table-name>SimpleCMP</table-name>
+ <cmp-field-mapping>
+ <cmp-field-name>id</cmp-field-name>
+ <table-column>id</table-column>
+ </cmp-field-mapping>
+ <cmp-field-mapping>
+ <cmp-field-name>firstName</cmp-field-name>
+ <table-column>firstName</table-column>
+ </cmp-field-mapping>
+ <cmp-field-mapping>
+ <cmp-field-name>lastName</cmp-field-name>
+ <table-column>lastName</table-column>
+ </cmp-field-mapping>
+ </entity>
+ </enterprise-beans>
+ </openejb-jar>
+ </module>
+
</application>