Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-380

Cannot use Date attribute with Jpa

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V2 2.0.0
    • V2 2.0.1
    • odata2-jpa
    • None

    Description

      Line 85 :

      } else if ((jpaType.equals(Date.class)) || (jpaType.equals(Calendar.class)) ||
      jpaType.equals(Timestamp.class)) {
      try {

      The Date.class used is java.sql.Date. I suppose it should be java.util.Date.

      Attachments

        Activity

          People

            chandan.v.a Chandan V.A
            epotvin Emmanuel Potvin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: