[jboss-cvs] JBossAS SVN: r64691 - trunk/testsuite/src/resources/deployers/bean1/META-INF.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Aug 18 17:16:00 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-08-18 17:16:00 -0400 (Sat, 18 Aug 2007)
New Revision: 64691
Added:
trunk/testsuite/src/resources/deployers/bean1/META-INF/jbosscmp-jdbc.xml
Modified:
trunk/testsuite/src/resources/deployers/bean1/META-INF/ejb-jar.xml
Log:
[JBAS-4548] Add a test for JBAS-4548
Modified: trunk/testsuite/src/resources/deployers/bean1/META-INF/ejb-jar.xml
===================================================================
--- trunk/testsuite/src/resources/deployers/bean1/META-INF/ejb-jar.xml 2007-08-18 21:15:57 UTC (rev 64690)
+++ trunk/testsuite/src/resources/deployers/bean1/META-INF/ejb-jar.xml 2007-08-18 21:16:00 UTC (rev 64691)
@@ -7,23 +7,47 @@
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
>
<enterprise-beans>
- <session>
- <ejb-name>deployers-bean1</ejb-name>
- <home>org.jboss.test.deployers.ejb.bean1.Bean1Home</home>
- <remote>org.jboss.test.deployers.ejb.bean1.Bean1Remote</remote>
- <ejb-class>org.jboss.test.deployers.ejb.bean1.Bean1</ejb-class>
- <session-type>Stateless</session-type>
- <transaction-type>Container</transaction-type>
- </session>
+
+ <entity>
+ <description>JBAS4548_EntityPK</description>
+ <ejb-name>JBAS4548_EntityPK</ejb-name>
+ <local-home>org.jboss.test.deployers.jbas4548.ejb.EntityPKHome</local-home>
+ <local>org.jboss.test.deployers.jbas4548.ejb.EntityPK</local>
+ <ejb-class>org.jboss.test.deployers.jbas4548.ejb.EntityPKBean</ejb-class>
+ <persistence-type>Container</persistence-type>
+ <prim-key-class>org.jboss.test.deployers.jbas4548.ejb.AComplexPK</prim-key-class>
+ <reentrant>false</reentrant>
+ <cmp-version>2.x</cmp-version>
+ <cmp-field>
+ <field-name>aBoolean</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>anInt</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>aLong</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>aDouble</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>aString</field-name>
+ </cmp-field>
+ <cmp-field>
+ <field-name>otherField</field-name>
+ </cmp-field>
+ </entity>
</enterprise-beans>
- <assembly-descriptor>
- <container-transaction >
+ <assembly-descriptor>
+
+ <container-transaction>
<method>
- <ejb-name>deployers-bean1</ejb-name>
+ <ejb-name>JBAS4548_EntityPK</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
- </assembly-descriptor>
+
+ </assembly-descriptor>
</ejb-jar>
Added: trunk/testsuite/src/resources/deployers/bean1/META-INF/jbosscmp-jdbc.xml
===================================================================
--- trunk/testsuite/src/resources/deployers/bean1/META-INF/jbosscmp-jdbc.xml (rev 0)
+++ trunk/testsuite/src/resources/deployers/bean1/META-INF/jbosscmp-jdbc.xml 2007-08-18 21:16:00 UTC (rev 64691)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE jbosscmp-jdbc PUBLIC
+ "-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN"
+ "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd">
+
+<jbosscmp-jdbc>
+ <defaults>
+ <datasource>java:/JBAS4548DS</datasource>
+ <datasource-mapping>Hypersonic SQL</datasource-mapping>
+ <create-table>true</create-table>
+ <remove-table>true</remove-table>
+ <pk-constraint>true</pk-constraint>
+ </defaults>
+</jbosscmp-jdbc>
Property changes on: trunk/testsuite/src/resources/deployers/bean1/META-INF/jbosscmp-jdbc.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ native
More information about the jboss-cvs-commits
mailing list