Commit Graph

341 Commits

Author SHA1 Message Date
mibo eb1a2d80f6 [OLINGO-1560] Set version to next SNAPSHOT 2022-03-12 08:24:38 +01:00
mibo c28e79077c [OLINGO-1560] Set version to 4.9.0 2022-02-27 08:22:47 +01:00
ramya vasanth de412ea971 [OLINGO-1545]Scientific notation value of Edm.Double cannot be processed 2021-09-17 10:39:32 +05:30
ramya vasanth dadeed6ef6 [OLINGO-1408]Convert java.time.Instant to edm.DateTimeOffset in generic flow 2021-01-22 12:29:52 +05:30
mibo 02722f0d30 [OLINGO-1502] Set version to next SNAPSHOT 2020-12-27 11:28:19 +01:00
mibo 9ee316bed8 [OLINGO-1502] Set version to 4.8.0 2020-12-27 08:50:08 +01:00
mibo 1982d4a55a [OLINGO-1502] Set version to 4.8.0-RC01 2020-12-14 21:00:44 +01:00
ramya vasanth 79bd10f430 [OLINGO-1480]Client error when reading Decimal literal 2020-11-19 14:11:38 +05:30
ramya vasanth 4baf2b695a [OLINGO-1191]Fix null issue in Edm.String 2020-10-09 14:13:31 +05:30
ramya vasanth 2b96e6e2a1 [OLINGO-1472]Support Scale having values variable and floating 2020-08-18 13:07:09 +05:30
ramya vasanth 6bc0fc72e6 [OLINGO-1469]OData V4: Convert java.time types to correct Edm types 2020-07-17 10:19:23 +05:30
ramya vasanth d4c057b80c [OLINGO-1062]Fallback to fetch full qualified name of Record when the vocab file is not loaded 2020-03-19 10:02:52 +05:30
Archana Rai 2b437addac EdmDouble relaxed 2020-02-21 09:17:35 +05:30
ramya vasanth acb5e5e74c [OLINGO-1430]Enhance metadata serializer to include OnDelete child element for a navigation Property 2020-02-20 10:47:40 +05:30
mibo cb6a7ce346 [OLINGO-1418] Set version to next SNAPSHOT 2019-12-25 18:11:14 +01:00
mibo dd944cd181 [OLINGO-1418] Set version to 4.7.1 2019-12-25 06:11:03 +01:00
Michael Bolz 53e98faf34 [OLINGO-1418] Set version to 4.7.1-RC01 2019-12-20 07:41:14 +01:00
mibo 1adc394ba9 [OLINGO-1406] Set version to next SNAPSHOT 2019-12-06 21:42:50 +01:00
mibo 531e5bb8ee [OLINGO-1406] Set version to 4.7.0 2019-12-01 14:08:13 +01:00
Michael Bolz 3254ebdbd6 [OLINGO-1406] Set version to 4.7.0-RC01 2019-11-27 09:31:37 +01:00
luca-vercelli 2df6c17799 [OLINGO-1406] added some toString() methods (#26)
General and minor improvement during release
2019-11-27 08:34:30 +01:00
Michael Bolz ec603917e5 [OLINGO-1408] Minor change to fix tests 2019-11-25 21:28:36 +01:00
Michael Bolz 302f991e5b [OLINGO-1408] Applied code formatter 2019-11-25 20:49:09 +01:00
Adrian Görler 932af8fb5d [OLINGO-1408] Support new date time API (#57)
* Fix usage of Calendar in tests

The tests use Calendar instances. For some test cases the time zone of a
Calendar instance is changed and then passed to the valueToString
method.

Unfortunately after just changing the time zone the Calendar only
changes the time zone but not the value of the calculated fields like
YEAR, MONTH, ... . These fields are recalculated only if they are read
by get(YEAR), get(MONTH), ... . The implementation of valueToString
clones the Calendar instance before fields are computed resulting in
a corrupt clone.

This change

1) makes sure that the test the fields in the Calendar instances used
   in the tests are computed
2) makes sure that the valueToString method triggers a computation of
the fields before cloning the Calendar

* Support types of new Date/Time API

The types of the new Date/Time API can now be used as property values.

The following mappings are now supported

EdmDateTimeOffset
- java.time.Instant
- java.time.ZonedDateTime
- java.util.Calendar
- java.util.Date
- java.sql.Timestamp
- java.lang.Long

EdmDate
- java.time.LocalDate
- java.sql.Date

EdmTimeOfDay
- java.time.LocalTime
- java.sql.Time

Only these mappings capture the semantics correctly.

For legacy reasons also supported are the following mappings are still
supported:

EdmDate
- java.util.Calendar (date component in the TZ of the calendar)
- java.util.Date     (date component in UTC)
- java.sql.Timestamp (date component in UTC)
- java.lang.Long     (date component in UTC)

EdmTimeOfDay
- java.util.Calendar (time component in the TZ of the calendar)
- java.util.Date     (time component in UTC)
- java.sql.Timestamp (time component in UTC)
- java.lang.Long     (time component in UTC)

For legacy reasons the default mapping types are unchanged (and remain
semantically incorrect):

EdmDateTimeOffset -> java.sql.Timestamp
EdmDate           -> java.util.Calendar
EdmTimeOfDay      -> java.util.Calendar

* Allow additional (but semantically wrong) conversions

EdmDate -> java.util.Date, java.sql.Timestamp
EdmTimeOfDay -> java.util.Date, java.sql.Timestamp
2019-11-25 19:32:58 +01:00
Ian Allen f4a6baeaee OLINGO-1400 - remove duplicate call to provider.getEntityContainer() in EdmProviderImpl.createEntityContainer 2019-09-26 10:38:44 -03:00
ramya vasanth 6c2103ccd4 [OLINGO-1391]Code Improvements 2019-09-13 14:28:48 +05:30
ramya vasanth 510b213cd6 [OLINGO-1393]Validate the values for a Decimal data type as per latest spec 2019-09-09 10:51:15 +05:30
ramya vasanth 405fb76088 [OLINGO-1375]OData V4: EntitySet in function Import need not be prefixed with namespace 2019-06-27 14:26:41 +05:30
ramya vasanth aca474ff64 [OLINGO-1368]OData V4: Support In Operator in filters 2019-06-17 14:23:36 +05:30
ramya vasanth 0c7460a2a2 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/olingo-odata4.git 2019-05-15 11:30:24 +05:30
ramya vasanth c41d10e8dc [OLINGO-1062] Code improvements for support of annotations 2019-05-15 11:29:01 +05:30
Dirk Mahler 7ff8ffdf37 OLINGO-1357 use s map to cache EdmPrimitiveTypeKind values for lookup 2019-05-13 14:13:40 +02:00
mibo 24fed9b1b6 [OLINGO-1330] cache name in getName() 2019-05-10 17:59:17 +02:00
mibo e35f36abc5 [OLINGO-1352] Set 4.7.0-SNAPSHOT as development version 2019-05-05 08:12:19 +02:00
mibo 6e0a5cb43a [OLINGO-1352] Set version to 4.6.0 for release 2019-05-05 07:27:37 +02:00
mibo 68181b9676 [OLINGO-1352] Set version to 4.6.0-RC01 2019-05-01 06:56:06 +02:00
Archana Rai fb2d21d703 [OLINGO-1296] EdmDateTimeOffSet precision validation 2018-09-26 13:52:49 +05:30
shawkins ebdf0d3e3a OLINGO-1294 adding polygon support for multiple interior rings 2018-09-21 17:36:02 -04:00
Archana Rai 8cbe468c2a [OLINGO-1062]Cannot consume Odata Reference Services with Annotations 2018-08-20 11:31:08 +05:30
Christian Amend 0f39306541 [OLINGO-1284] Set next 4.6.0-SNAPSHOT development version 2018-08-13 15:26:45 +02:00
Christian Amend 7290f7ea4d [OLINGO-1284] Set 4.5.0 release version 2018-08-13 15:25:07 +02:00
Christian Amend cde4f0723f [OLINGO-1284] Set 4.5.0-RC01 version 2018-08-06 14:28:45 +02:00
Ramesh Reddy f0188a6ecb OLINGO-1150: The precision and scale checks are being made on exponential form than the denormalized form 2018-06-21 13:56:19 -05:00
Ramesh Reddy 1012bcb248 OLINGO-1150: allowing support to read decimal values presented in the exponential form 2018-01-19 11:03:46 -06:00
Archana Rai 1ce51fd4ec [OLINGO-1202]Bound function scenarios, samples and tests 2017-11-13 16:07:34 +05:30
ramya vasanth 8f40d49c46 [OLINGO-1191]Code improvements 2017-10-24 11:15:15 +05:30
Archana Rai 96223df38d [OLINGO-1191]Code improvements 2017-10-24 10:52:54 +05:30
Christian Amend 4cae638ff5 [OLINGO-1171] Set next 4.5.0-SNAPSHOT version 2017-09-01 15:35:37 +02:00
Christian Amend 9858f1d04c [OLINGO-1171] Set 4.4.0 release version 2017-09-01 15:15:49 +02:00
Christian Amend b98eb1fc6c [OLINGO-1171] Set 4.4.0-RC01 version 2017-08-29 09:58:49 +02:00