[ 
https://issues.apache.org/jira/browse/GEODE-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944333#comment-15944333
 ] 

Darrel Schneider commented on GEODE-2722:
-----------------------------------------

The PdxSerializer is used before java serialization. So if you have a class 
that implements java serialization (by implementing Serializable or 
Externalizable or one of the other ways ObjectOutputStream supports) it would 
no longer be java serialized but would instead be serialized as a PDX. So 
making this change could break existing applications that rely on java 
serialization.
To get the old behaviour you should be able to configure the pdx-serializer to 
be null.


> ReflectionBasedAutoSerializer should be used by default
> -------------------------------------------------------
>
>                 Key: GEODE-2722
>                 URL: https://issues.apache.org/jira/browse/GEODE-2722
>             Project: Geode
>          Issue Type: Improvement
>          Components: serialization
>            Reporter: Swapnil Bawaskar
>
> We should not require the user to configure anything when inserting data in 
> Geode. ReflectionBasedAutoSerializer should be set by default on Cache
> startup (if one is not specified already). 
> Also, the pattern required to configure ReflectionBasedAutoSerializer should 
> be made optional: Please see:
> <https://github.com/apache/geode/blob/8bf39571471642beaaa36c9626a61a90bd3803c2/geode-core/src/main/java/org/apache/geode/pdx/internal/AutoSerializableManager.java#L213>
> Please look at this thread for discussion on the dev list: 
> https://lists.apache.org/thread.html/c89974d08d7675d3a636872bce5e838d578df5759c5c1acae611d322@%3Cdev.geode.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to