You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Emmanuel Potvin (JIRA)" <ji...@apache.org> on 2014/07/26 03:42:38 UTC

[jira] [Created] (OLINGO-380) Cannot use Date attribute with Jpa

Emmanuel Potvin created OLINGO-380:
--------------------------------------

             Summary: Cannot use Date attribute with Jpa
                 Key: OLINGO-380
                 URL: https://issues.apache.org/jira/browse/OLINGO-380
             Project: Olingo
          Issue Type: Bug
          Components: odata2-jpa
    Affects Versions: V2 2.0.0
            Reporter: Emmanuel Potvin


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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)