回复: Use UUID for ProductID

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

回复: Use UUID for ProductID

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

--- 原始邮件 ---

发件人: "Ofbiz 开发" <[hidden email]>
已发: 2013年4月30日 下午6:38
收件人: [hidden email]
主题: 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