Announcement Announcement Module
Collapse
No announcement yet.
how can I enable Spring data Mongodb support Joda-time type? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how can I enable Spring data Mongodb support Joda-time type?

    now it saved like:
    "example" : { "iMillis" : NumberLong("1330436010401"), "iChronology" : { "_class" : "org.joda.time.chrono.ISOChronology", "iBase" : { "_class" : "org.joda.time.chrono.ZonedChronology", "iBase" : { "_class" : "org.joda.time.chrono.ISOChronology", "iBase" : { "_class" : "org.joda.time.chrono.GregorianChronology", "iMinDaysInFirstWeek" : 4 } }, "iParam" : { "_class" : "org.joda.time.tz.CachedDateTimeZone", "iZone" : { "_class" : "org.joda.time.tz.DateTimeZoneBuilder$Precalculate dZone", "iTransitions" : [
    NumberLong("-9223372036854775808"),
    NumberLong("-1325491552000"),
    NumberLong("-933494400000"),
    NumberLong("-923130000000"),
    NumberLong("-908784000000"),
    NumberLong("-891594000000"),
    NumberLong("515520000000"),
    NumberLong("527007600000"),
    NumberLong("545155200000"),
    NumberLong("558457200000"),
    NumberLong("576604800000"),
    NumberLong("589906800000"),
    NumberLong("608659200000"),
    NumberLong("621961200000"),
    NumberLong("640108800000"),
    NumberLong("653410800000"),
    NumberLong("671558400000"),
    NumberLong("684860400000")
    ], "iWallOffsets" : [
    29152000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000,
    32400000,
    28800000
    ], "iStandardOffsets" : [
    29152000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000,
    28800000
    ], "iNameKeys" : [
    "LMT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST",
    "CDT",
    "CST"
    ], "iID" : "Asia/Shanghai" }, "iID" : "Asia/Shanghai" } } } },
Working...
X