blob: 45cde3d0211ec9683eb0ed09667fb3b9377cfadb [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<!--
Copyright (c) 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<ejb-jar>
<display-name>ejb</display-name>
<enterprise-beans>
<entity>
<display-name>A1RO</display-name>
<ejb-name>A1RO</ejb-name>
<home>test.A1Home</home>
<remote>test.A1</remote>
<ejb-class>test.A1Bean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<cmp-version>1.x</cmp-version>
<cmp-field>
<field-name>id</field-name>
</cmp-field>
<cmp-field>
<field-name>shortName</field-name>
</cmp-field>
<cmp-field>
<field-name>description</field-name>
</cmp-field>
<primkey-field>id</primkey-field>
</entity>
<entity>
<display-name>A2RO</display-name>
<ejb-name>A2RO</ejb-name>
<home>test.A2Home</home>
<remote>test.A2</remote>
<ejb-class>test.A2Bean</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
<reentrant>False</reentrant>
<abstract-schema-name>A2</abstract-schema-name>
<cmp-field>
<field-name>id</field-name>
</cmp-field>
<cmp-field>
<field-name>shortName</field-name>
</cmp-field>
<cmp-field>
<field-name>description</field-name>
</cmp-field>
<primkey-field>id</primkey-field>
<query>
<description></description>
<query-method>
<method-name>findByShortName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql>select distinct object(a) from A2 a where a.shortName = ?1</ejb-ql>
</query>
</entity>
<session>
<display-name>TestRO</display-name>
<ejb-name>TestRO</ejb-name>
<home>test.TestHome</home>
<remote>test.Test</remote>
<ejb-class>test.TestBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<security-identity>
<description></description>
<use-caller-identity></use-caller-identity>
</security-identity>
</session>
</enterprise-beans>
<assembly-descriptor>
</assembly-descriptor>
</ejb-jar>