You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Ян Программист <we...@gmail.com> on 2010/03/27 11:53:48 UTC

Data type development howto

I asked the community earlier. And asking again. I need some kind of howto
for developing custom data type for Derby, step by step. John

Re: Data type development howto

Posted by Ян Программист <we...@gmail.com>.
Not sure. I was not meaning to provide storing of Java objects in storage in
that way. I was rather meaning to add a some kind of fully unsupported data
type, adding implementation of specific functionality, implementing base
engine features for that data type. I feel UDT a performance aware. I am
wrong about that? John

Re: Data type development howto

Posted by Ян Программист <we...@gmail.com>.
Tnx. John

Re: Data type development howto

Posted by Rick Hillegas <Ri...@Sun.COM>.
Ян Программист wrote:
> I asked the community earlier. And asking again. I need some kind of 
> howto for developing custom data type for Derby, step by step. John
Hi John,

In a previous email, I responded that the easiest way to add a custom 
datatype to Derby is to declare a User Defined Type. This new feature is 
available in the trunk and will be exposed in the upcoming 10.6 release. 
For more information on UDTs, please see the functional spec attached to 
this issue: https://issues.apache.org/jira/browse/DERBY-651

If you are interested in adding a new builtin datatype, you may use the 
XML datatype as a model: https://issues.apache.org/jira/browse/DERBY-334

Hope this helps,
-Rick