task #10067
closedUpdate to hibernate 5.4 (or higher) and hibernate search 5.11 and lucene 5.5
100%
Description
https://github.com/hibernate/hibernate-orm/blob/5.2/migration-guide.adoc
https://github.com/hibernate/hibernate-orm/wiki/Migration-Guides
https://mvnrepository.com/artifact/org.hibernate/hibernate-core/5.2.18.Final
https://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html
https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc
Open issues:
- deprecated calls in CdmEntityDaoBase (and maybe others), e.g. line 447 / createCriteria (deprecated) => #10124
- check if FlushMode can be changed to JPA Flush Mode => #10124
sortindex handling in TaxonNode, TermNode, PKNode=> still needs code cleanup- Problems with sessionFactory.getAllClassMetadata();
CdmModelCacher- ReferringObjectMetadataFactoryImpl => failing test in persistence
lucene: -misapplied name searchcheck if AbstractPersistentCollection and AbstractLazyInitializer in TaxEditor needs to be adaptedbytebuddy deserialization exception for(#10075)
hibernate 5.3:
hibernate sequence tables
TODO before closing:
adapt javassist where possible- read all migration guides carefully again
problems with DdlCreate (JDBC connection and no build whith cleanup in IDE) - not sure if they are related to the hibernate changes- remove constructs similar to „new " + SortableTaxonNodeQueryResult.class.getName() in HQL Queries
Related issues
Updated by Andreas Müller over 1 year ago
- Related to task #9359: Update cdmlib, taxeditor, cdmserver etc. dependencies added
Updated by Andreas Müller over 1 year ago
- Due date set to 05/27/2022
- Start date set to 05/23/2022
Updated by Andreas Müller over 1 year ago
mvn clean install –fail-never (or just –fn)
https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html
mvn clean -Dtest=AnnotationDaoTest,CdmEntityDaoBaseTest,TaxonGraphTest test
Updated by Andreas Müller over 1 year ago
- Related to task #8127: [Reminder] to check if Hibernate Null Value bug still exists added
Updated by Andreas Müller over 1 year ago
- Related to feature request #7648: Create taxonrelation to genus or species when subordinate names are created added
Updated by Andreas Müller over 1 year ago
- Related to task #3722: Using @OrderColumn does not work in trees added
Updated by Andreas Müller over 1 year ago
- Related to feature request #10069: Upgrade hibernate search and lucene to hs6+ and lucene 8+ added
Updated by Andreas Müller over 1 year ago
- Subject changed from Update to hibernate 5.2 (or higher) to Update to hibernate 5.4 (or higher) and hibernate search 5.11 and lucene 5.5
- Due date changed from 05/27/2022 to 06/01/2022
- Status changed from New to In Progress
- % Done changed from 0 to 60
Updated by Andreas Müller over 1 year ago
- Related to feature request #10070: Upgrade to hibernate 6+ added
Updated by Andreas Müller over 1 year ago
- Related to task #10009: Cleanup dependencies in TaxEditor added
Updated by Andreas Müller over 1 year ago
- Related to task #10077: upgrade ehcache to 3.x added
Updated by Andreas Müller over 1 year ago
- Related to bug #10079: Fix timezone problems after upgrading jadira.usertype, hibernate and/or mysql drivers added
Updated by Andreas Müller about 1 year ago
- Copied to task #10104: Cleanup after hibernate v5.4.33 migration added
Updated by Andreas Müller about 1 year ago
- Related to task #10094: Reenabel anttask for 001-cdm.h2.sql creation added
Updated by Andreas Müller about 1 year ago
- Status changed from In Progress to Resolved
- Priority changed from New to Highest
Should be resolved. All open issues moved to #10104.
Still need to check the
TypedQuery<String[]>
issue.
Updated by Andreas Müller about 1 year ago
- Priority changed from Highest to Priority14
- % Done changed from 60 to 90
Updated by Andreas Müller about 1 year ago
- Assignee changed from Andreas Müller to Katja Luther
Please review and check if there is any remaining issue not mentioned in followup ticket #10104.
Close afterwards.
Updated by Andreas Müller about 1 year ago
- Related to bug #10114: Problem with parser for author string with whitespace between initials added
Updated by Andreas Müller about 1 year ago
- Copied to task #10124: Adapt deprecated hibernate methods to suggested new methods added
Updated by Andreas Müller about 1 year ago
- Status changed from Resolved to Closed
- Assignee changed from Katja Luther to Andreas Müller
- % Done changed from 90 to 100
All open issues moved to follow up ticket #10104 or related tickets