db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig Russell <Craig.Russ...@Sun.COM>
Subject Negative VOTE: Issue 127: Remove serialized attribute
Date Thu, 18 Aug 2005 20:22:00 GMT
Javadogs,

This proposal removes serialized from the element, key, and value  
elements and adds serialized-element  to the collection and array  
elements and adds serialized-key and serialized-value to the map  
element.

This puts serialized at the same conceptual level as embedded,  
removing it from the orm space and adding it to the jdo space. This  
change allows us to discuss the normal defaults for embedded and  
serialized.

Please reply if you see any issues.

<proposal>
<additions>
ELEMENT field
The serialized attribute indicates that the field is to be serialized  
for storage using writeObject, and cannot be queried.
The attributes serialized=”true” and embedded=”true”are mutually  
exclusive.
Dependent defaults to true if either serialized=”true” or  
embedded=”true” is specified.
ELEMENT collection
The serialized-element attribute indicates that the array element is  
to be serialized for storage using writeObject, and cannot be queried.
The attributes serialized-element=”true” and embedded- 
element=”true”are mutually exclusive.
ELEMENT array
The serialized-element attribute indicates that the array element is  
to be serialized for storage using writeObject, and cannot be queried.
The attributes serialized-element=”true” and embedded- 
element=”true”are mutually exclusive.
ELEMENT map
The serialized-value attribute indicates that the map value is to be  
serialized for storage using writeObject, and cannot be queried.
The attributes serialized-value=”true” and embedded-value=”true”are  
mutually exclusive.
The serialized-key attribute indicates that the map key is to be  
serialized for storage using writeObject, and cannot be queried.
The attributes serialized-key=”true” and embedded-key=”true”are  
mutually exclusive.
</additions>

<removals>
ELEMENT key
The serialized attribute specifies that the key values are to be  
serialized into the named column.
ELEMENT value
The serialized attribute specifies that the key values are to be  
serialized into the named column.
ELEMENT element
The serialized attribute specifies that the key values are to be  
serialized into the named column.
ELEMENT order
The serialized attribute specifies that the key values are to be  
serialized into the named column.
<!ATTLIST key serialized (true|false) #IMPLIED>
<!ATTLIST value serialized (true|false) #IMPLIED>
<!ATTLIST element serialized (true|false) #IMPLIED>
</removals>
</proposal>


Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message