Hi Arini,

For more on why primary keys are of character type, see

https://cwiki.apache.org/OFBIZ/faq-tips-tricks-cookbook-howto.html#FAQ-Tips-Tricks-Cookbook-HowTo-WhyprimarykeysareVARCHARtypeinOFBiz
https://cwiki.apache.org/OFBIZ/faq-tips-tricks-cookbook-howto.html#FAQ-Tips-Tricks-Cookbook-HowTo-WhyprimarykeysareVARCHARtypeinOFBiz


Cheers

Paul Foxworthy


arini.rusda wrote:
> 
> Hi, thanks for reply,
> 
> i was using the numeric type actually (i mean the `long` type is in the
> database), i'm sorry for the misunderstanding. i was using the numeric
> type just for trial so i think i could do auto-increment easier (i'm not
> really sure about it, though). Do you know why is ofbiz use string for all
> of the id? is that a kind of best practice? 
> 
> Well, anyway, i've just tried to use the type= id and it works perfectly
> right now :),
> but still i'm curious how if i really want my id's in numeric type? what
> should i do so that ofbiz could convert it right? 
> 
> -Arini
> 


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Issue-with-rendering-FindScreenDecorator-in-the-latest-revision-tp3331268p3404588.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to