Add support for Java enums, include tests #71

wants to merge 5 commits into


None yet
3 participants

dgottlieb commented Apr 18, 2012

I like the idea that Enum support is only exposed via the ReflectionDBObject. This patch looks good to me, though I wish the OnlineTest didn't stop short on actually testing the values that were read back out from the DB.

ymind commented Apr 19, 2012

I'm so sorry! This is my mistake, I had fixed these problems, please check it.
I'm a newbie for java, thanks for your guidance!


trishagee commented Jul 2, 2013

Hi, thanks for the pull request. Unfortunately, supporting Java enums is not as straightforward as it might at first seem, see for more details. We're going to look into implementing it after the 3.0 release - feel free to check out the 3.0 branch to see how you might implement it there.


@trishagee trishagee closed this Jul 2, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment