[ 
https://issues.apache.org/jira/browse/DERBY-651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas updated DERBY-651:
--------------------------------

    Attachment: derby-651-01-aa-basicCreateDropType.diff

Attaching derby-651-01-aa-basicCreateDropType.diff. This adds machinery to 
create and drop UDTs. You can't do anything with these UDTs yet. That is, you 
can't declare columns or parameters to be UDT types. But this is a foundation 
to build on. The regression tests ran cleanly for me.

Touches the following files:

M      java/engine/org/apache/derby/impl/sql/catalog/SYSALIASESRowFactory.java
M      java/engine/org/apache/derby/iapi/sql/dictionary/AliasDescriptor.java
M      java/engine/org/apache/derby/iapi/services/io/RegisteredFormatIds.java
M      java/engine/org/apache/derby/iapi/services/io/StoredFormatIds.java
M      java/engine/org/apache/derby/catalog/AliasInfo.java
A      java/engine/org/apache/derby/catalog/types/UDTAliasInfo.java

DataDictionary support for a new kind of alias, representing a Java class that 
can be used as a UDT.


M      java/engine/org/apache/derby/impl/sql/compile/NodeFactoryImpl.java
M      java/engine/org/apache/derby/impl/sql/compile/DropAliasNode.java
M      java/engine/org/apache/derby/impl/sql/compile/CreateAliasNode.java
M      java/engine/org/apache/derby/impl/sql/compile/sqlgrammar.jj
M      
java/engine/org/apache/derby/impl/sql/execute/CreateAliasConstantAction.java

Support for CREATE/DROP TYPE.


M      java/testing/org/apache/derbyTesting/functionTests/tests/lang/_Suite.java
A      
java/testing/org/apache/derbyTesting/functionTests/tests/lang/UDTTest.java
M      
java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_6.java

Basic tests for CREATE/DROP TYPE plus upgrade test to verify that you must 
hard-upgrade to 10.6 before you can create a UDT.


> Re-enable the storing of java objects in the database
> -----------------------------------------------------
>
>                 Key: DERBY-651
>                 URL: https://issues.apache.org/jira/browse/DERBY-651
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Rick Hillegas
>         Attachments: derby-651-01-aa-basicCreateDropType.diff, 
> UserDefinedTypes.html, UserDefinedTypes.html, UserDefinedTypes.html, 
> UserDefinedTypes.html
>
>
> Islay Symonette, in an email thread called "Storing Java Objects in a table" 
> on October 26, 2005 requests the ability to store java objects in the 
> database.
> Old releases of Cloudscape allow users to declare a column's type to be a 
> Serializable class. This feature was removed from Derby because the syntax 
> was non-standard. However, most of the machinery to support objects 
> serialized to columns is still in Derby and is even used in system tables. We 
> need to agree on some standard syntax here and re-expose this useful feature. 
> Some subset of the ANSI adt syntax, cumbersome as it is, would do.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to