[hibernate-commits] [hibernate/hibernate-search] e7ecb2: HSEARCH-3509 Document the limitations of the date/...

Yoann Rodière noreply at github.com
Mon Mar 4 09:55:46 EST 2019


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: e7ecb27053f8b57a2f64e34d32458e9f37e2b5e9
      https://github.com/hibernate/hibernate-search/commit/e7ecb27053f8b57a2f64e34d32458e9f37e2b5e9
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-03-04 (Mon, 04 Mar 2019)

  Changed paths:
    M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc

  Log Message:
  -----------
  HSEARCH-3509 Document the limitations of the date/time conversion in the Pojo mapper for java.util.Calendar and java.util.Date


  Commit: 174ce0aa3fa40a1fc4a5b389f5f18ffb9353732a
      https://github.com/hibernate/hibernate-search/commit/174ce0aa3fa40a1fc4a5b389f5f18ffb9353732a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-03-04 (Mon, 04 Mar 2019)

  Changed paths:
    M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaUtilCalendarPropertyTypeDescriptor.java
    M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaUtilDatePropertyTypeDescriptor.java

  Log Message:
  -----------
  HSEARCH-3509 Ensure we use the java.util APIs to build dates/calendars in mapper tests

With the previous method (using the java.time APIs, then converting to
java.util types), our tests were a bit skewed and unlikely to detect
conversion errors.


  Commit: 32e83f2878030ab94f209c42fb381fe3b7fed1b9
      https://github.com/hibernate/hibernate-search/commit/32e83f2878030ab94f209c42fb381fe3b7fed1b9
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2019-03-04 (Mon, 04 Mar 2019)

  Changed paths:
    M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaUtilCalendarPropertyTypeDescriptor.java
    M integrationtest/mapper/pojo/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/testsupport/types/JavaUtilDatePropertyTypeDescriptor.java

  Log Message:
  -----------
  HSEARCH-3509 Add dates that only exist in the Julian calendar in date/calendar conversion tests


Compare: https://github.com/hibernate/hibernate-search/compare/dca7399a8873...32e83f287803



More information about the hibernate-commits mailing list