hi jacques,
i created new component called entitytest, in that entitytest component
entitymodel.xml, i created new entity called Planet. given below i wrote
entity like
<entity entity-name="Planet" package-name="org.ofbiz.entitytest">
<field name="planetId" type="id-ne"/>
<field name="planetName" type="name"/>
<field name="fromDate" type="date-time"/>
<field name="thruDate" type="date-time"/>
<prim-key field="planetId"/>
<index name="PLANET_NAME_IDX" unique="true">
<index-field name="planetName"/>
</index>
</entity>
in the above entity where i have to specific parameter no-auto-stamp.
On Wed, Sep 30, 2009 at 3:00 PM, Jacques Le Roux <
[email protected]> wrote:
> It's an attribute of Entity, see entitymodel.xml
>
>
> Jacques
>
> From: "Gnanashankar Shanmugam" <[email protected]>
>
>> hi jacques, In EntityEngine.xml, where i have to give no-auto-stamp
>> parameter for entities..any explain clearly..Advance thanks..
>>
>> On Wed, Sep 30, 2009 at 2:24 PM, Jacques Le Roux <
>> [email protected]> wrote:
>>
>> There is a parameter no-auto-stamp for entities
>>>
>>> Jacques
>>>
>>> From: "Gnanashankar Shanmugam" <[email protected]>
>>>
>>> The problem I'm having is when I use webtools to export the data I get
>>>
>>>> a SQL error because the entity engine adds the following ofbiz columns
>>>> to the SQL query:
>>>>
>>>> LAST_UPDATED_STAMP,
>>>> LAST_UPDATED_TX_STAMP,
>>>> CREATED_STAMP,
>>>> CREATED_TX_STAMP
>>>>
>>>>
>>>> Since the table is not an ofbiz entity the columns do not exist and
>>>> the generated query will fail. Is there a way to specify in the
>>>> entity model to only use those columns that are explicitly defined in
>>>> the definition file?
>>>>
>>>>
>>>>
>>>
>>
>