I see the length defined in entitymodel of course.
I think the display-entity work like this:  select *** from Content
where key-field-name
= value
the value get from field name="contentId"  does it ? if yes, why it can work
when name="contentName" in other db, a little confused...

2008/2/22, BJ Freeman <[EMAIL PROTECTED]>:
>
> where do you see a length defined here?
>
> guo weizhan sent the following on 2/21/2008 6:41 PM:
>
> > I think this is the bug,  it should be change to this:
> >
> > <field name="contentId" widget-style="tabletext">
> >             <display-entity entity-name="Content"
> > description="${contentName}" key-field-name="contentId">
> >                 <sub-hyperlink
> target="editContent?contentId=${contentId}"
> > description="[${contentId}]" link-style="buttontext"/>
> >             </display-entity>
> >  </field>
> >
> > does it??
> >
> > 2008/2/22, guo weizhan <[EMAIL PROTECTED]>:
> >> Thanks, I have read the old post before, but I need ofbiz support the
> db2
> >> database, and db2 is the important db in market, it can make ofbiz  be
> >> adopted widely.
> >>
> >> 2008/2/21, Walter Vaughan <[EMAIL PROTECTED]>:
> >>> guo weizhan wrote:
> >>>
> >>>> I test the content id with CDI1201 , it's fine
> >>>>
> >>>> the error occur only when the length of contentname more than 20
> >>>>
> >>>>
> >>> DB2 is not a perferred database for OFBiz... AFAICT
> >>> Search the archives of this mailling list. I seem to remember some
> >>> workarounds in the past year
> >>> http://www.nabble.com/OFBiz---User-f2743.html
> >>>
> >>>
> >>>
> >
>
>

Reply via email to