Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4003

XmlSchemaPrimitiveUtils covers date/time types

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5, 2.5.1
    • Fix Version/s: 2.5.2
    • Component/s: None
    • Labels:

      Description

      Can you please add some mapping for date/time types in org.apache.cxf.common.util.XmlSchemaPrimitiveUtils?

      I suggest this:

      registerPrimitiveClasses("dateTime", java.sql.Date.class, java.util.Date.class, java.sql.Timestamp.class);
      registerPrimitiveClasses("time", java.sql.Time.class);
      

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              mattelacchiato Matthias Brandt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified