ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 叶双明 <yeshuangm...@gmail.com>
Subject Re: Problem use extend-entity under mysql 5.1.41
Date Sat, 06 Jul 2013 09:49:33 GMT
I use newest mysql jdbc driver, 5.1.25.  I will consider it.

Thanks Jacques.


2013/7/6 Jacques Le Roux <jacques.le.roux@les7arts.com>

> This is more likely an issue with the JDBC driver, try to update it if
> possible, but no guarantees...
> Anyway, if you can, I'd recommend to use Postgres, for few other reasons
>
> Jacques
>
> 叶双明 wrote:
> > Hi all,
> > I extend an entity after table has been created, like this:
> > <extend-entity entity-name="ProductPromoCodeParty">
> > <field name="statusId" type="id"></field>
> > <field name="useDate" type="date-time"></field>
> > <relation type="one" fk-name="PROD_PRCDP_PCD_STTS"
> > rel-entity-name="StatusItem" >
> >          <key-map field-name="statusId"/>
> >        </relation>
> > </extend-entity>
> > , and add  check-fk-indices-on-start="true" check-fks-on-start="true" to
> > node datasource in entityengine.xml.
> >
> > after restart ofbiz, field statusId and useDate is appear in the
> > table product_promo_code_party, but no PROD_PRCDP_PCD_STTS.
> > found in error.log:
> > 2013-07-06 14:14:33,796 (OFBiz-config-0) [
> > DatabaseUtil.java:1439:ERROR] Error getting fk reference meta data Error
> > was:java.sql.SQLException: Table not specified.. Not checking fk refs.
> >
> > Is a issue of mysql or ofbiz?
> >
> > And, When i test it with postgreSQL, everything is ok!
>



-- 
叶双明

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