> - The enum contains the items ReadOnly, Nullable (or Optional), NotNull (or
> Required), AutoGenerated
This somehow sounds as putting different things into one enum... Is
this also one property in most databases?
> How about:
OK
> - Mode
> - Modifier
> - Mod (short for Modifier)
NOK
> - (just) M
> - Def
> - Xtra
> - X
Can't think of anything better...
Odd indeed
> - Claim (would semantically be right but sounds odd, doesn't it?)
>
> Here is an example of where it is used (see DataMode...):
>
> DEPARTMENT_ID = addColumn("DEPARTMENT_ID", DataType.AUTOINC, 0,
> DataMode.AutoGenerated, "DEP_ID_SEQUENCE");
> NAME = addColumn("NAME", DataType.TEXT, 80,
> DataMode.NotNull);
> HEAD = addColumn("HEAD", DataType.TEXT, 80,
> DataMode.Nullable);
> BUSINESS_UNIT = addColumn("BUSINESS_UNIT", DataType.TEXT, 4,
> DataMode.NotNull, "ITTK");
> UPDATE_TIMESTAMP= addColumn("UPDATE_TIMESTAMP", DataType.DATETIME, 0,
> DataMode.AutoGenerated);
>
> Looking forward for your responses.
>
> Regards
> Rainer
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: McKinley [mailto:[email protected]]
>> Gesendet: Mittwoch, 27. Januar 2010 01:45
>> An: [email protected]
>> Betreff: Re: DataType.AUTOINC Probably Needs a Change
>>
>> On Wed, Jan 27, 2010 at 12:01 AM, Rainer Döbele <[email protected]>
>> wrote:
>> > I am not too happy about the name of the enum (DataMode) but I have
>> been thining and trying out various
>>
>> DataMeta? Joking, joking.
>>
>> Thanks for this patch!
>
--
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.