db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "TomohitoNakayama" <tomon...@basil.ocn.ne.jp>
Subject Re: [jira] Commented: (DERBY-167) Inserting values in an identity column
Date Thu, 07 Apr 2005 10:13:52 GMT
> And I'm not sure whether discussion about possible solutions have done 
> yet.

I mean that I'm not clear whether discussion have ended.
Sorry for not so skilled in English communication.

Best regards.

/*

         Tomohito Nakayama
         tomoihto@rose.zero.ad.jp
         tomonaka@basil.ocn.ne.jp

         Naka
         http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- 
From: "TomohitoNakayama" <tomonaka@basil.ocn.ne.jp>
To: "Derby Development" <derby-dev@db.apache.org>
Sent: Thursday, April 07, 2005 7:05 PM
Subject: Re: [jira] Commented: (DERBY-167) Inserting values in an identity 
column


> Hello.
>
>> 1) Are you looking at implementing  GENERATED BY DEFAULT or still just
>> looking at Derby-167 in general and tryiing to understand the related 
>> code?
>
> Status is not started coding yet.
> Current status is reading and studying related code of Derby-167 with 
> interest.
>
> And I'm not sure whether discussion about possible solutions have done 
> yet.
>
>
>> 2)  Are you proposing an additional class?  Is this for cleanup or for
>> some implementation concern regarding Derby-167?    The fact that we
>> have an interface for DefaultInfo with one method makes me initially
>> kind of wary of that.
>
> Well ... Not proposing yet.
>
> I'm not sure whether we should make class of this kind.
> InitialValueRule may be too tribial to be a structure and
> making such structure would result in too complex code...
>
> But at least, concerning initial value,
> there are something with "default value" and "auto increment value".
> And they are handled separatedly in the ColumnDescripter class.
>
> After all ,it may not be suitable as work in Derby-167 ,because this is 
> not cleanup task ...
>
> Best regards.
>
> /*
>
>         Tomohito Nakayama
>         tomoihto@rose.zero.ad.jp
>         tomonaka@basil.ocn.ne.jp
>
>         Naka
>         http://www5.ocn.ne.jp/~tomohito/TopPage.html
>
> */
> ----- Original Message ----- 
> From: "Kathey Marsden" <kmarsdenderby@sbcglobal.net>
> To: "Derby Development" <derby-dev@db.apache.org>
> Sent: Thursday, April 07, 2005 4:42 PM
> Subject: Re: [jira] Commented: (DERBY-167) Inserting values in an identity 
> column
>
>
>> TomohitoNakayama wrote:
>>
>>> Now, I'm reading source codes relating to DERBY-167.
>>>
>>> And I found next constructors.
>>>
>>> ColumnDescriptor(java.lang.String columnName, int columnPosition,
>>> DataTypeDescriptor columnType, DataValueDescriptor columnDefault,
>>> DefaultInfo columnDefaultInfo, TableDescriptor table, UUID
>>> defaultUUID, long autoincStart, long autoincInc, boolean autoinc)
>>>          Constructor for a ColumnDescriptor
>>> ColumnDescriptor(java.lang.String columnName, int columnPosition,
>>> DataTypeDescriptor columnType, DataValueDescriptor columnDefault,
>>> DefaultInfo columnDefaultInfo, UUID uuid, UUID defaultUUID, long
>>> autoincStart, long autoincInc, boolean autoinc)
>>>          Constructor for a ColumnDescriptor.
>>>
>>>
>>> These constroctors have many parameters.
>>>
>>> AutoIncrementing intial value is related to  following parameters:
>>>    long autoincStart,
>>>    long autoincInc,
>>>    boolean autoinc
>>> Default intial value is related to following parameter:
>>>    DefaultInfo columnDefaultInfo
>>>
>>>
>>> I wonder how to handle these separated information of rules for
>>> initial values in DERBY-167 task ....
>>> New class InitialValueRule may be appropriate to exist ....
>>
>>
>> Hi Tomohito,
>>
>> I am a little confused so will ask a few questions.
>> 1) Are you looking at implementing  GENERATED BY DEFAULT or still just
>> looking at Derby-167 in general and tryiing to understand the related 
>> code?
>>
>> 2)  Are you proposing an additional class?  Is this for cleanup or for
>> some implementation concern regarding Derby-167?    The fact that we
>> have an interface for DefaultInfo with one method makes me initially
>> kind of wary of that.
>>
>>
>> Kathey
>>
>>
>>
>>
>>
>>
>> -- 
>> No virus found in this incoming message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 2005/04/06
>>
>>
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 2005/04/06
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 2005/04/06
>
> 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.4 - Release Date: 2005/04/06


Mime
View raw message