ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Gorbachev ...@inbox.ru>
Subject Re[2]: Debugging entity-auto
Date Sat, 04 Apr 2015 18:08:33 GMT
 It seems that program even didn't get into org.ofbiz.service.engine.EntityAutoEngine because
my breakpoints inside this class were not used.

    <service name="createTest" default-entity-name="Test" engine="entity-auto" invoke="create"
         <description>create a test</description>
         <!-- <permission-service service-name="basePermissionCheck" main-action="CREATE"/>
         <auto-attributes include="pk" mode="IN" optional="false"/>    
         <attribute name="idf" mode="IN" type="id-ne" optional="false"/>
         <attribute name="number" mode="IN" type="numeric" optional="false"/>
    <entity entity-name="Test" package-name="org.ofbiz.rtest" title="One record for
each test element">
        <field name="idf" type="id-ne"></field>
        <field name="number" type="numeric"></field>

        <prim-key field="idf"/>


Суббота,  4 апреля 2015, 19:25 +02:00 от Nicolas Malin <nicolas.malin@nereide.fr>:
>Le 04/04/2015 12:31, Alexey Gorbachev a écrit :
>>   Hello, everyone!
>> I'm new in ofbiz, and I've problems with entity-auto create function. It doesn't
work. I want to debug it, but I don't know where ( class and function) to set breakpoint.
>> Could you help me?
>> Thanks a lot.
>Hello Alexey,
>Two possibilities :
>  * see : org.ofbiz.service.engine.EntityAutoEngine
>  * post your service definition

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message