You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Bilgin Ibryam <bi...@gmail.com> on 2012/02/02 19:29:38 UTC

Re: Specialized Types in Entity field type

Hi FooShyn,

I don't think there is anything special about these fields, just that
they are not general purpose fields as name/description, but more
restrictive. If they fit your needs (sql-type/java-type) feel safe to
use them

Bilgin

On 30 January 2012 09:24, Foo Shyn Chung <ip...@gmail.com> wrote:
> Hi all,
>
> I found that there are certain type are being defined as "Specialized
> Types" in the fieldtype<db>.xml ..... i wonder why are they termed
> 'special' as the sql-type and java-type are basically almost the same.
>
> 1 example is tel-number where the sql-type is TEXT and the java-type is
> String
>
> Tried to search on the web for info but can't find any. Is there any
> purpose they served? Currently i'm building an entity that has a field for
> phone number, should i use tel-number or just use the long-varchar?
>
> Thanx
> FooShyn