BryanHunt/mongo-emf — Issue #10: Custom data type converters
Author: dlaidlaw
Created: 2011-12-12 17:14:40+00:00
State: open

The plugin already handles all the native mongo database data types, however, it is sometimes required to have customer converters to convert types or objects to/from mongo storage. For example the java.util.Calendar class (and therefore java.util.GregorianCalendar) is not handled by mongo natively, but it still needs to be stored. Some my want to store it as a long value, others as an ISO8601 string. Providing a custom data type conversion mechanism will enable the user of the plugin to decide how data is stored in mongo.