Commit Graph

351 Commits

Author SHA1 Message Date
mibo 20b0d7a2c0
[OLINGO-1613] Set version to 5.0.1-SNAPSHOT 2023-12-17 22:33:17 +01:00
mibo b9edb6bf94
[OLINGO-1613] Set version to 5.0.0 2023-12-17 20:56:12 +01:00
mibo ab7cf15639
[OLINGO-1600] Set version to 5.0.0-ALPHA-02 2023-11-19 22:09:12 +01:00
mibo ae1c045dcd
[OLINGO-1600] Set version to 5.0.0-ALPHA-01 2023-11-14 22:20:36 +01:00
mibo 7e0637b2b7
[OLINGO-1600] Merge branches 2023-11-06 21:04:10 +01:00
mibo 7b8f05659e
[OLINGO-1603] Set version to 5.0.0-SNAPSHOT 2023-11-06 20:51:12 +01:00
mibo 417198580e [OLINGO-1603] Set version to 4.10.0 2023-10-22 20:36:00 +02:00
mibo 5f4df07895 [OLINGO-1603] Set version to 4.10.0-RC01 2023-10-22 20:36:00 +02:00
Simon Ammer ce5028d24f [OLINGO-1167] Reference with fully qualified name 2023-10-13 22:03:05 +02:00
Raupp Pereira 5e696bc131 upgrade jdk and java ee 2023-06-05 19:50:34 +02:00
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