geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Real Wes <thereal...@outlook.com>
Subject RE: [jira] [Commented] (GEODE-2722) ReflectionBasedAutoSerializer should be used by default
Date Tue, 28 Mar 2017 00:55:53 GMT


“So the default pattern would match all class names?”

This is the most usual case and I believe should therefore be the default.  Placing limitations
is the exceptional case.  It’s rather frequent during development that I’ll change my
package names and the serializer will blow up because I forgot to change the pattern. In the
common case, it’s really a nuisance.







From: Darrel Schneider (JIRA)<mailto:jira@apache.org>
Sent: Monday, March 27, 2017 8:51 PM
To: dev@geode.apache.org<mailto:dev@geode.apache.org>
Subject: [jira] [Commented] (GEODE-2722) ReflectionBasedAutoSerializer should be used by default



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

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

So the default pattern would match all class names?

> 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)

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