⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 books.ejbgrpx~110~

📁 Java项目案例导航
💻 EJBGRPX~110~
📖 第 1 页 / 共 3 页
字号:
      <field-map>
        <cmp-field>name</cmp-field>
        <dbms-column>NAME</dbms-column>
      </field-map>
      <field-map>
        <cmp-field>description</cmp-field>
        <dbms-column>DESCRIPTION</dbms-column>
      </field-map>
    </table-map>
    <weblogic-query>
      <query-method>
        <method-name>findByName</method-name>
        <method-params>
          <method-param>String</method-param>
        </method-params>
      </query-method>
      <include-updates>false</include-updates>
      <sql-select-distinct>true</sql-select-distinct>
    </weblogic-query>
    <weblogic-query>
      <query-method>
        <method-name>findByDescription</method-name>
        <method-params>
          <method-param>String</method-param>
        </method-params>
      </query-method>
      <sql-select-distinct>false</sql-select-distinct>
    </weblogic-query>
    <weblogic-query>
      <query-method>
        <method-name>findByBasePrice</method-name>
        <method-params>
          <method-param>double</method-param>
        </method-params>
      </query-method>
      <sql-select-distinct>false</sql-select-distinct>
    </weblogic-query>
    <weblogic-query>
      <query-method>
        <method-name>findExpensiveBooks</method-name>
        <method-params>
          <method-param>double</method-param>
        </method-params>
      </query-method>
      <sql-select-distinct>false</sql-select-distinct>
    </weblogic-query>
    <weblogic-query>
      <query-method>
        <method-name>findCheapBooks</method-name>
        <method-params>
          <method-param>double</method-param>
        </method-params>
      </query-method>
      <sql-select-distinct>false</sql-select-distinct>
    </weblogic-query>
    <weblogic-query>
      <query-method>
        <method-name>findAllBooks</method-name>
        <method-params />
      </query-method>
      <sql-select-distinct>false</sql-select-distinct>
    </weblogic-query>
  </weblogic-rdbms-bean>
</weblogic-rdbms-jar>
]]></weblogic-cmp-extras.xml>
  <weblogic-ejb-jar.xml extralocation="" timestamp="1051689770375"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
    <weblogic-enterprise-bean>
        <ejb-name>book</ejb-name>
        <entity-descriptor>
            <persistence>
                <persistence-use>
                    <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
                    <type-version>6.0</type-version>
                    <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
                </persistence-use>
            </persistence>
        </entity-descriptor>
        <jndi-name>bookRemote</jndi-name>
        <local-jndi-name>book</local-jndi-name>
    </weblogic-enterprise-bean>
</weblogic-ejb-jar>
]]></weblogic-ejb-jar.xml>
  <weblogic-cmp-rdbms-jar.xml extralocation="" timestamp="1051689770375"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE weblogic-rdbms-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic 7.0.0 EJB RDBMS Persistence//EN' 'http://www.bea.com/servers/wls700/dtd/weblogic-rdbms20-persistence-700.dtd'>
<weblogic-rdbms-jar>
    <weblogic-rdbms-bean>
        <ejb-name>book</ejb-name>
        <data-source-name>cgDataSource</data-source-name>
        <table-map>
            <table-name>BOOKS</table-name>
            <field-map>
                <cmp-field>bookid</cmp-field>
                <dbms-column>BOOKID</dbms-column>
            </field-map>
            <field-map>
                <cmp-field>baseprice</cmp-field>
                <dbms-column>BASEPRICE</dbms-column>
            </field-map>
            <field-map>
                <cmp-field>name</cmp-field>
                <dbms-column>NAME</dbms-column>
            </field-map>
            <field-map>
                <cmp-field>description</cmp-field>
                <dbms-column>DESCRIPTION</dbms-column>
            </field-map>
        </table-map>
        <weblogic-query>
            <query-method>
                <method-name>findByName</method-name>
                <method-params>
                    <method-param>String</method-param>
                </method-params>
            </query-method>
            <include-updates>false</include-updates>
            <sql-select-distinct>true</sql-select-distinct>
        </weblogic-query>
        <weblogic-query>
            <query-method>
                <method-name>findByDescription</method-name>
                <method-params>
                    <method-param>String</method-param>
                </method-params>
            </query-method>
            <sql-select-distinct>false</sql-select-distinct>
        </weblogic-query>
        <weblogic-query>
            <query-method>
                <method-name>findByBasePrice</method-name>
                <method-params>
                    <method-param>double</method-param>
                </method-params>
            </query-method>
            <sql-select-distinct>false</sql-select-distinct>
        </weblogic-query>
        <weblogic-query>
            <query-method>
                <method-name>findExpensiveBooks</method-name>
                <method-params>
                    <method-param>double</method-param>
                </method-params>
            </query-method>
            <sql-select-distinct>false</sql-select-distinct>
        </weblogic-query>
        <weblogic-query>
            <query-method>
                <method-name>findCheapBooks</method-name>
                <method-params>
                    <method-param>double</method-param>
                </method-params>
            </query-method>
            <sql-select-distinct>false</sql-select-distinct>
        </weblogic-query>
        <weblogic-query>
            <query-method>
                <method-name>findAllBooks</method-name>
                <method-params />
            </query-method>
            <sql-select-distinct>false</sql-select-distinct>
        </weblogic-query>
    </weblogic-rdbms-bean>
</weblogic-rdbms-jar>
]]></weblogic-cmp-rdbms-jar.xml>
</descriptors>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -