You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by mo...@live.cn on 2013/04/30 14:01:56 UTC

回复: Use UUID for ProductID

modify the configuration of id-ne length to varchar(40)

--- 原始邮件 ---

发件人: "Ofbiz 开发" <ph...@gmail.com>
已发: 2013年4月30日 下午6:38
收件人: user@ofbiz.apache.org
主题: Use UUID for ProductID

Hi everyone,

I am considering using Java UUID for the ProductID (
http://docs.oracle.com/javase/7/docs/api/java/util/UUID.html ), but that
requires at least varchar (32), and the current ProductID field in database
is only varchar(20), how hard is it to change to varchar(32) please? Is
there any plan in Ofbiz trunk to change this to varchar(32) please? It
seems better than using sequence.

Thanks.

Kind Regards

Fong