执行ant load-demo,构建成功,但是没有创建数据库的表是什么原因呢?

对岸 发布于 2014/11/11 18:52
阅读 1K+
收藏 0

1.ofbiz版本是:apache-ofbiz-12.04.02



2.该修改的地方,都应该已经修改了,但还是没有创建表:

 1)默认的数据库已经改成了mysql

 <delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <!--<group-map group-name="org.ofbiz" datasource-name="localderby"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localderbytenant"/>-->
         <group-map group-name="org.ofbiz" datasource-name="localmysql"/>



2)url、用户名/密码、字符集,都改了
<datasource name="localmysql"
            helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
            field-type-name="mysql"
            check-on-start="true"
            add-missing-on-start="true"
            check-pks-on-start="false"
            use-foreign-keys="true"
            join-style="ansi-no-parenthesis"
            alias-view-columns="false"
            drop-fk-use-foreign-key-keyword="true"
            table-type="InnoDB"
            character-set="utf8" //字符集,也改了!
            collate="utf8_general_ci">
        <read-data reader-name="tenant"/>
        <read-data reader-name="seed"/>
        <read-data reader-name="seed-initial"/>
        <read-data reader-name="demo"/>
        <read-data reader-name="ext"/>
        <inline-jdbc
                jdbc-driver="com.mysql.jdbc.Driver"
                jdbc-uri="jdbc:mysql://127.0.0.1:3306/ofbiz?autoReconnect=true" //数据库ofbiz,手动创建了!
                jdbc-username="XXX" //用户名和密码,改了!
                jdbc-password="XXX"
                isolation-level="ReadCommitted"
                pool-minsize="2"
                pool-maxsize="250"
                time-between-eviction-runs-millis="600000"/><!-- Please note that at least one person has experienced a problem with this value with MySQL
                and had to set it to -1 in order to avoid this issue.
                For more look at http://markmail.org/thread/5sivpykv7xkl66px and http://commons.apache.org/dbcp/configuration.html-->
        <!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/MySqlDataSource" isolation-level="Serializable"/> -->
    </datasource>



3)mysql-jdbc.jar放到了这个目录:/ofbiz/framework/entity/lib/jdbc;



---------

附:执行ant load-demo,命令行的信息如下

 [javac16]             cart.setShippingContactMechId(shipContactMechId);
  [javac16]                 ^
  [javac16] 6 个警告

jar:
      [jar] Building jar: F:\webSrc\ofbiz12\ofbiz\specialpurpose\googlecheckout\
build\lib\ofbiz-googlecheckout.jar

init:

prepare:
    [mkdir] Created dir: F:\webSrc\ofbiz12\ofbiz\specialpurpose\example\build\cl
asses
    [mkdir] Created dir: F:\webSrc\ofbiz12\ofbiz\specialpurpose\example\build\li
b

classes:
  [javac16] Compiling 1 source file to F:\webSrc\ofbiz12\ofbiz\specialpurpose\ex
ample\build\classes
  [javac16] 警告: [options] 未与 -source 1.6 一起设置引导类路径
  [javac16] 1 个警告

jar:
      [jar] Building jar: F:\webSrc\ofbiz12\ofbiz\specialpurpose\example\build\l
ib\ofbiz-example.jar
     [echo] [build] ========== Done Building Special Purpose (Compile) =========
=
   [subant] No sub-builds to iterate on

clean-svninfo:
     [echo] Resetting svninfo...
     [echo] Done!
     [echo] [build] ========== Done Building (Compile) ==========

load-demo:
     [java] Start.java using configuration file org/ofbiz/base/start/install.pro
perties
     [java] Set OFBIZ_HOME to - F:/webSrc/ofbiz12/ofbiz
     [java] Admin socket not configured; set to port 0
     [java] 2014-11-11 17:17:30,568 (main) [    ContainerLoader.java:77 :INFO ]
[Startup] Loading containers...
     [java] Warning : Module classpath component 'C:\Windows\Sun\Java\bin' is no
t valid and will be ignored...
     [java] 2014-11-11 17:17:32,925 (main) [ ComponentContainer.java:180:INFO ]
Auto-Loading component directory : [F:/webSrc/ofbiz12/ofbiz/framework]
     [java] 2014-11-11 17:17:32,996 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [base]
     [java] 2014-11-11 17:17:33,022 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [geronimo]
     [java] 2014-11-11 17:17:33,050 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [sql]
     [java] 2014-11-11 17:17:33,071 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [entity]
     [java] 2014-11-11 17:17:33,390 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [catalina]
     [java] 2014-11-11 17:17:33,432 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [security]
     [java] 2014-11-11 17:17:33,458 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [datafile]
     [java] 2014-11-11 17:17:33,480 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [minilang]
     [java] 2014-11-11 17:17:33,501 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [common]
     [java] 2014-11-11 17:17:33,515 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [service]
     [java] 2014-11-11 17:17:33,543 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [entityext]
     [java] 2014-11-11 17:17:33,562 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [bi]
     [java] 2014-11-11 17:17:33,585 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [birt]
     [java] 2014-11-11 17:17:33,614 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [webapp]
     [java] 2014-11-11 17:17:33,639 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [widget]
     [java] 2014-11-11 17:17:33,664 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [appservers]
     [java] 2014-11-11 17:17:33,677 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [testtools]
     [java] 2014-11-11 17:17:33,699 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [webtools]
     [java] 2014-11-11 17:17:33,722 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [images]
     [java] 2014-11-11 17:17:33,722 (main) [ ComponentContainer.java:180:INFO ]
Auto-Loading component directory : [F:/webSrc/ofbiz12/ofbiz/themes]
     [java] 2014-11-11 17:17:33,779 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [bizznesstime]
     [java] 2014-11-11 17:17:33,792 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [bluelight]
     [java] 2014-11-11 17:17:33,807 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [droppingcrumbs]
     [java] 2014-11-11 17:17:33,821 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [flatgrey]
     [java] 2014-11-11 17:17:33,879 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [multiflex]
     [java] 2014-11-11 17:17:33,897 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [tomahawk]
     [java] 2014-11-11 17:17:33,897 (main) [ ComponentContainer.java:180:INFO ]
Auto-Loading component directory : [F:/webSrc/ofbiz12/ofbiz/applications]
     [java] 2014-11-11 17:17:33,938 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [party]
     [java] 2014-11-11 17:17:33,960 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [securityext]
     [java] 2014-11-11 17:17:33,978 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [content]
     [java] 2014-11-11 17:17:34,013 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [workeffort]
     [java] 2014-11-11 17:17:34,034 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [product]
     [java] 2014-11-11 17:17:34,048 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [manufacturing]
     [java] 2014-11-11 17:17:34,060 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [accounting]
     [java] 2014-11-11 17:17:34,063 (main) [ ComponentContainer.java:290:WARN ]
Location 'F:/webSrc/ofbiz12/ofbiz/applications/accounting/lib/securepay' does no
t exist
     [java] 2014-11-11 17:17:34,063 (main) [ ComponentContainer.java:290:WARN ]
Location 'F:/webSrc/ofbiz12/ofbiz/applications/accounting/lib/cybersource' does
not exist
     [java] 2014-11-11 17:17:34,063 (main) [ ComponentContainer.java:290:WARN ]
Location 'F:/webSrc/ofbiz12/ofbiz/applications/accounting/lib/worldpay' does not
 exist
     [java] 2014-11-11 17:17:34,063 (main) [ ComponentContainer.java:290:WARN ]
Location 'F:/webSrc/ofbiz12/ofbiz/applications/accounting/lib/worldpay' does not
 exist
     [java] 2014-11-11 17:17:34,083 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [humanres]
     [java] 2014-11-11 17:17:34,096 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [order]
     [java] 2014-11-11 17:17:34,105 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [marketing]
     [java] 2014-11-11 17:17:34,126 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [commonext]
     [java] 2014-11-11 17:17:34,128 (main) [ ComponentContainer.java:180:INFO ]
Auto-Loading component directory : [F:/webSrc/ofbiz12/ofbiz/specialpurpose]
     [java] 2014-11-11 17:17:34,160 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [ecommerce]
     [java] 2014-11-11 17:17:34,172 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [pos]
     [java] 2014-11-11 17:17:34,184 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [hhfacility]
     [java] 2014-11-11 17:17:34,198 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [assetmaint]
     [java] 2014-11-11 17:17:34,211 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [cmssite]
     [java] 2014-11-11 17:17:34,221 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [ofbiz]
     [java] 2014-11-11 17:17:34,234 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [projectmgr]
     [java] 2014-11-11 17:17:34,248 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [scrum]
     [java] 2014-11-11 17:17:34,262 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [oagis]
     [java] 2014-11-11 17:17:34,276 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [googlebase]
     [java] 2014-11-11 17:17:34,287 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [googlecheckout]
     [java] 2014-11-11 17:17:34,302 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [ebay]
     [java] 2014-11-11 17:17:34,315 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [ebaystore]
     [java] 2014-11-11 17:17:34,333 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [myportal]
     [java] 2014-11-11 17:17:34,343 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [crowd]
     [java] 2014-11-11 17:17:34,349 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [ldap]
     [java] 2014-11-11 17:17:34,395 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [webpos]
     [java] 2014-11-11 17:17:34,408 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [example]
     [java] 2014-11-11 17:17:34,419 (main) [ ComponentContainer.java:241:INFO ]
Loading component : [exampleext]
     [java] 2014-11-11 17:17:34,419 (main) [ ComponentContainer.java:180:INFO ]
Auto-Loading component directory : [F:/webSrc/ofbiz12/ofbiz/hot-deploy]
     [java] 2014-11-11 17:17:34,433 (main) [ ComponentContainer.java:149:INFO ]
All components loaded
     [java] 2014-11-11 17:17:36,319 (main) [ClassLoaderContainer.java:50 :INFO ]
 CachedClassLoader created
     [java] 2014-11-11 17:17:36,439 (main) [    ContainerLoader.java:223:INFO ]
[Startup] Starting containers...
     [java] 2014-11-11 17:17:36,445 (main) [DelegatorFactoryImpl.java:30 :INFO ]
 Creating new delegator [default] (main)
     [java] Loaded ESAPI properties from classpath
     [java]   ========Master Configuration========
     [java]   |   LogEncodingRequired=false
     [java]   |   LogLevel=ALL
     [java]   |   MaxUploadFileBytes=500000000
     [java]   |   ResponseContentType=text/html; charset=UTF-8
     [java]   |   ValidExtensions=.zip,.pdf,.doc,.docx,.ppt,.pptx,.tar,.gz,.tgz,
.rar,.war,.jar,.ear,.xls,.rtf,.properties,.java,.class,.txt,.xml,.jsp,.jsf,.exe,
.dll
     [java]   |   Validator.AccountName=^[a-zA-Z0-9]{3,20}$
     [java]   |   Validator.CreditCard=^(\d{4}[- ]?){3}\d{4}$
     [java]   |   Validator.DirectoryName=^[a-zA-Z0-9.-\_ ]{0,255}$
     [java]   |   Validator.Email=^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[a-zA-Z]{2,4
}$
     [java]   |   Validator.FileName=^[a-zA-Z0-9.\-_ ]{0,255}$
     [java]   |   Validator.HTTPCookieName=^[a-zA-Z0-9\-_]{0,32}$
     [java]   |   Validator.HTTPCookieValue=^[a-zA-Z0-9\-\/+=_ ]*$
     [java]   |   Validator.HTTPHeaderName=^[a-zA-Z0-9\-_]{0,32}$
     [java]   |   Validator.HTTPHeaderValue=^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_ ]*$
     [java]   |   Validator.HTTPParameterName=^[a-zA-Z0-9_]{0,32}$
     [java]   |   Validator.HTTPParameterValue=^[a-zA-Z0-9.\-\/+=_ ]*$
     [java]   |   Validator.IPAddress=^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]
?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
     [java]   |   Validator.Redirect=^\/test.*$
     [java]   |   Validator.RoleName=^[a-z]{1,20}$
     [java]   |   Validator.SSN=^(?!000)([0-6]\d{2}|7([0-6]\d|7[012]))([ -]?)(?!
00)\d\d\3(?!0000)\d{4}$
     [java]   |   Validator.SafeString=^[p{L}p{N}.]{0,1024}$
     [java]   |   Validator.SystemCommand=^[a-zA-Z\-\/]{0,64}$
     [java]   |   Validator.URL=^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z
])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\:\'\/\\\+=&amp;%\$#_]*)?$
     [java]   |   event.test.actions=disable,log
     [java]   |   event.test.count=2
     [java]   |   event.test.interval=10
     [java]   |   org.owasp.esapi.errors.IntegrityException.actions=log,disable,
logout
     [java]   |   org.owasp.esapi.errors.IntegrityException.count=10
     [java]   |   org.owasp.esapi.errors.IntegrityException.interval=5
     [java]   |   org.owasp.esapi.errors.IntrusionException.actions=log,disable,
logout
     [java]   |   org.owasp.esapi.errors.IntrusionException.count=1
     [java]   |   org.owasp.esapi.errors.IntrusionException.interval=1
     [java] 2014-11-11 17:17:39,377 (main) [    ModelViewEntity.java:551:WARN ]
[OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to be i
mplemented for cache and in-memory eval stuff to work correctly,  will not work f
or alias: quantityOrdered
     [java] 2014-11-11 17:17:39,378 (main) [    ModelViewEntity.java:551:WARN ]
[OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to be i
mplemented for cache and in-memory eval stuff to work correctly, will not work f
or alias: quantityOpen
     [java] 2014-11-11 17:17:39,378 (main) [    ModelViewEntity.java:551:WARN ]
[OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs to b
e implemented for cache and in-memory eval stuff to work correctly, will not wor
k for alias: quantityOrdered
     [java] 2014-11-11 17:17:39,378 (main) [    ModelViewEntity.java:551:WARN ]
[OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs to b
e implemented for cache and in-memory eval stuff to work correctly, will not wor
k for alias: quantityOpen
     [java] 2014-11-11 17:17:39,380 (main) [    ModelViewEntity.java:551:WARN ]
[OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to be imple
mented for cache and in-memory eval stuff to work correctly, will not work for a
lias: quantityOrdered
     [java] 2014-11-11 17:17:39,383 (main) [    ModelViewEntity.java:551:WARN ]
[OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs to be
implemented for cache and in-memory eval stuff to work correctly, will not work
for alias: quantityOrdered
     [java] 2014-11-11 17:17:39,383 (main) [    ModelViewEntity.java:551:WARN ]
[OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs to be
implemented for cache and in-memory eval stuff to work correctly, will not work
for alias: totQuantityAvailable
     [java] 2014-11-11 17:17:39,390 (main) [    ModelViewEntity.java:551:WARN ]
[ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias needs to be
 implemented for cache and in-memory eval stuff to work correctly, will not work
 for alias: totalRatedHours
     [java] 2014-11-11 17:17:39,395 (main) [    ModelViewEntity.java:551:WARN ]
[ExampleStatusDetail]: Conversion for complex-alias needs to be implemented for
cache and in-memory eval stuff to work correctly, will not work for alias: statu
sDelay
     [java] 2014-11-11 17:17:39,422 (main) [        ModelReader.java:436:INFO ]
FINISHED LOADING ENTITIES - ALL FILES; #Entities=863 #ViewEntities=300 #Fields=9
049 #Relationships=2961 #AutoRelationships=2186
     [java] 2014-11-11 17:17:39,563 (main) [   GenericDelegator.java:234:INFO ]
Doing entity definition check...
     [java] 2014-11-11 17:17:39,671 (main) [ ModelEntityChecker.java:508:INFO ]
[initReservedWords] array length=1023
     [java] 2014-11-11 17:17:40,741 (Thread-0) [    ContainerLoader.java:246:INF
O ]  Shutting down containers
     [java] java.lang. NullPointerException
     [java]     at org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericD
elegator.java:541)
     [java]     at org.ofbiz.entity.model.ModelEntityChecker.checkEntities(Model
EntityChecker.java:107)
     [java]     at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.jav
a:235)
     [java]     at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFa
ctoryImpl.java:33)
     [java]     at org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFa
ctoryImpl.java:25)
     [java]     at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObjec
t.java:202)
     [java]     at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFacto
ry.java:51)
     [java]     at org.ofbiz.entityext.data.EntityDataLoadContainer.loadContaine
r(EntityDataLoadContainer.java:272)
     [java]     at org.ofbiz.entityext.data.EntityDataLoadContainer.start(Entity
DataLoadContainer.java:236)
     [java]     at org.ofbiz.base.container.ContainerLoader.start(ContainerLoade
r.java:230)
     [java]     at org.ofbiz.base.start.Start.startStartLoaders(Start.java:362)
     [java]     at org.ofbiz.base.start.Start.start(Start.java:337)
     [java]     at org.ofbiz.base.start.Start.main(Start.java:139)
     [java] Java Result: 99

BUILD SUCCESSFUL
Total time: 1 minute 52 seconds
F:\webSrc\ofbiz12\ofbiz>
加载中
0
对岸
对岸
3个数据源,都要修改成mysql:

   <delegator  name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
        <!--<group-map group-name="org.ofbiz"  datasource-name="localderby"/>
        <group-map group-name="org.ofbiz.olap"  datasource-name="localderbyolap"/>
        <group-map group-name="org.ofbiz.tenant"  datasource-name="localderbytenant"/>-->
         <group-map group-name="org.ofbiz" datasource-name="localmysql"/>
       <group-map group-name="org.ofbiz.olap" datasource-name="localmysqlolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localmysqltenant"/>
        <!-- <group-map group-name="org.ofbiz" datasource-name="localpostnew"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localpostolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localposttenant"/> -->
    </delegator>
    <delegator  name="default-no-eca" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" entity-eca-enabled="false" distributed-cache-clear-enabled="false">
        <!--<group-map group-name="org.ofbiz" datasource-name="localderby"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localderbytenant"/>-->
        <group-map group-name="org.ofbiz" datasource-name="localmysql"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localmysqlolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localmysqltenant"/>
        <!-- <group-map group-name="org.ofbiz" datasource-name="localpostnew"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localpostolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localposttenant"/>  -->
    </delegator>

    <!-- be sure that your default delegator (or the one you use) uses the same datasource for test. You must run "ant run-install" before running "ant run-tests" -->
    <delegator  name="test" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
        <!--<group-map group-name="org.ofbiz" datasource-name="localderby"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localderbytenant"/>-->
        <group-map group-name="org.ofbiz" datasource-name="localmysql"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localmysqlolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localmysqltenant"/> 
        <!-- <group-map group-name="org.ofbiz" datasource-name="localpostnew"/>
        <group-map group-name="org.ofbiz.olap" datasource-name="localpostolap"/>
        <group-map group-name="org.ofbiz.tenant" datasource-name="localposttenant"/>  -->
    </delegator>

返回顶部
顶部