Stop guessing and start investigating. This stuff is even documented
(ie that updates ONLY create missing tables and columns). Most other
changes are not safe to do automatically.
-David
On Jan 26, 2009, at 1:42 PM, BJ Freeman wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
so that does not happen when the database update flag is set?
I guess the update flag is only good to give you warnings?
Maybe should be renamed to Compare.
David E Jones sent the following on 1/26/2009 12:35 PM:
On Jan 26, 2009, at 1:31 PM, BJ Freeman wrote:
getting a lot of warning like this
2009-01-26 12:23:43,062 (main) [ DatabaseUtil.java:279:WARN ]
WARNING: Column [CANCEL_QUANTITY] of table
[OFBIZ.ORDER_ITEM_CHANGE] of
entity [OrderItemChange] has a decimalDigits of [0] in the
database, but
is defined to have a decimalDigits of [6] in the entity definition.
so I guess the fieldtypes need to be updated.
Or perhaps the fieldtypes have been updated and your database hasn't
been updated yet.
A few fields like that have been fixed to have the detail they lacked
before. This is a warning from the entity engine to tell you that
your
database meta data (table defs, etc) needs to be updated to match the
newer code.
-David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJfiAvrP3NbaWWqE4RAjwHAJ47TiLthsluKbwerYgYdo9Gtwh1EACgoUsi
xj87VBiH7GQWzCwPKPe7c78=
=UzkZ
-----END PGP SIGNATURE-----