OFBiz實戰系列

1.OFBiz介紹html

http://ofbiz.apache.org/index.htmljava

Open Source Projects and Standardssql

Framework Introduction Videos and Diagramsapache

2.SDK文檔ide

Technical Documentationui

3.安裝、部署和調試url

http://ofbiz.apache.org/developers.htmlspa

Setup Intellij IDEA IDE for OFBiz Framework調試

Running and Debugging OFBiz in Intellij IDEAcode

4.入門案例

OFBiz Tutorial - A Beginners Development Guide for 16.11

5.實體模型及映射

<fieldtypemodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/fieldtypemodel.xsd">
  <!-- ===================== field-type-def ==================== -->
    <!-- General Types -->
    <field-type-def type="blob" sql-type="LONGBLOB" java-type="java.sql.Blob"/>
    <field-type-def type="byte-array" sql-type="LONGBLOB" java-type="byte[]"/>
    <field-type-def type="object" sql-type="LONGBLOB" java-type="Object"/>

    <field-type-def type="date-time" sql-type="DATETIME" java-type="java.sql.Timestamp"/>
    <field-type-def type="date" sql-type="DATE" java-type="java.sql.Date"/>
    <field-type-def type="time" sql-type="TIME" java-type="java.sql.Time"/>

    <field-type-def type="currency-amount" sql-type="DECIMAL(18,2)" java-type="java.math.BigDecimal"/>
    <field-type-def type="currency-precise" sql-type="DECIMAL(18,3)" java-type="java.math.BigDecimal"/>
    <field-type-def type="fixed-point" sql-type="DECIMAL(18,6)" java-type="java.math.BigDecimal"/>
    <field-type-def type="floating-point" sql-type="DOUBLE" java-type="Double"/>
    <field-type-def type="numeric" sql-type="DECIMAL(20,0)" java-type="Long"/>

    <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"/>
    <field-type-def type="id-long" sql-type="VARCHAR(60)" java-type="String"/>
    <field-type-def type="id-vlong" sql-type="VARCHAR(250)" java-type="String"/>

    <field-type-def type="indicator" sql-type="CHAR(1)" java-type="String"/>
    <field-type-def type="very-short" sql-type="VARCHAR(10)" java-type="String"/>
    <field-type-def type="short-varchar" sql-type="VARCHAR(60)" java-type="String"/>
    <field-type-def type="long-varchar" sql-type="VARCHAR(255)" java-type="String"/>
    <field-type-def type="very-long" sql-type="LONGTEXT" java-type="String"/>

    <field-type-def type="comment" sql-type="VARCHAR(255)" java-type="String"/>
    <field-type-def type="description" sql-type="VARCHAR(255)" java-type="String"/>
    <field-type-def type="name" sql-type="VARCHAR(100)" java-type="String"/>
    <field-type-def type="value" sql-type="VARCHAR(255)" java-type="String"/>

    <!-- Specialized Types -->
    <field-type-def type="credit-card-number" sql-type="VARCHAR(255)" java-type="String"/>
    <field-type-def type="credit-card-date" sql-type="VARCHAR(7)" java-type="String"/>
    <field-type-def type="email" sql-type="VARCHAR(320)" java-type="String"/>
    <field-type-def type="url" sql-type="VARCHAR(2000)" java-type="String"/>
    <field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"/>
    <field-type-def type="id-long-ne" sql-type="VARCHAR(60)" java-type="String"/>
    <field-type-def type="id-vlong-ne" sql-type="VARCHAR(250)" java-type="String"/>
    <field-type-def type="tel-number" sql-type="VARCHAR(60)" java-type="String"/>
</fieldtypemodel>

6.服務引擎

7.增刪查改(CRUD)

...

相關文章
相關標籤/搜索