google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

Native support missing for org.joda.time.DateTime #393

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I cannot annotate a DateTime field with @Property without hitting exceptions.

I believe when I was evaluating morphia, the home page indicated native support 
for joda time as a Morphia selling point, however, beyond the discussion about 
Michael Bolin's workaround, I cannot find any mention of it anymore. 

Is there support available for this crucial data type as a Property or Index 
type available in any version of Morphia, or is it on the development roadmap? 
https://groups.google.com/forum/#!msg/morphia/O3mENKENQW8/ZZkekx53UBMJ

Thank you,
 Jaron Sampson

Original issue reported on code.google.com by jaronsampson on 22 Mar 2012 at 5:45

GoogleCodeExporter commented 9 years ago
This is not a supported type nor is it listed here 
(http://code.google.com/p/morphia/).

There will not be support since this would require adding a dep. to joda time 
libs.

Here is a converter which posted publicly: 
https://groups.google.com/group/morphia/browse_thread/thread/3b798434a10d416f/13
50771e931e9965

Original comment by scotthernandez on 22 Mar 2012 at 6:21