Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038918Openbravo ERPZ. Otherspublic2018-07-09 14:092018-08-03 10:59
jarmendariz 
jarmendariz 
highmajorhave not tried
closedfixed 
5
 
3.0PR18Q4 
caristu
Core
No
0038918: Update modules to support latest version of Hibernate (platform team code)
Starting from Hibernate 5.3, parts of code are no longer available or are marked as deprecated, making the build fail/compile with warnings.

Check that the proposed changes in the following modules won't affect their functionality:

- org.openbravo.activiti
- org.openbravo.utility.hqlquerytool
- org.openbravo.integration.google
- org.openbravo.integration.google.signin
- org.openbravo.utility.commons.csv
- org.openbravo.ezattributes
- org.openbravo.utility.zoho
- org.openbravo.client.analytics
- org.openbravo.externaldata.integration
- org.openbravo.service.integration.amazon.s3
- org.openbravo.service.external.integration
See above
No tags attached.
blocks feature request 0037064 closed caristu upgrade hibernate to 5.3.2 
Issue History
2018-07-09 14:09jarmendarizNew Issue
2018-07-09 14:09jarmendarizAssigned To => platform
2018-07-09 14:12jarmendarizRelationship addedblocks 0037064
2018-07-09 14:26jarmendarizSummaryUpdate code to support Hibernate 5.3 => Update modules to support latest version of Hibernate
2018-07-16 18:14caristuProjectModules => Openbravo ERP
2018-07-16 18:15caristuModules => Core
2018-07-16 18:15caristuTriggers an Emergency Pack => No
2018-07-16 18:15caristuCategoryActiviti Integration => 00. Application dictionary
2018-07-16 18:15caristuSummaryUpdate modules to support latest version of Hibernate => Update modules to support latest version of Hibernate (platform code)
2018-07-16 18:15caristuSummaryUpdate modules to support latest version of Hibernate (platform code) => Update modules to support latest version of Hibernate (platform team code)
2018-07-16 18:17caristuCategory00. Application dictionary => Z. Others
2018-07-24 10:56hgbotCheckin
2018-07-24 10:56hgbotNote Added: 0105856
2018-07-24 10:56hgbotCheckin
2018-07-24 10:56hgbotNote Added: 0105859
2018-07-24 10:56hgbotCheckin
2018-07-24 10:56hgbotNote Added: 0105862
2018-07-24 10:56hgbotCheckin
2018-07-24 10:56hgbotNote Added: 0105863
2018-07-24 10:57hgbotCheckin
2018-07-24 10:57hgbotNote Added: 0105871
2018-07-24 11:02hgbotCheckin
2018-07-24 11:02hgbotNote Added: 0105897
2018-07-24 11:02hgbotCheckin
2018-07-24 11:02hgbotNote Added: 0105898
2018-07-24 11:02hgbotCheckin
2018-07-24 11:02hgbotNote Added: 0105899
2018-07-24 11:05caristuReview Assigned To => caristu
2018-07-24 11:05caristuAssigned Toplatform => jarmendariz
2018-07-24 11:05caristuStatusnew => scheduled
2018-07-24 11:06caristuStatusscheduled => resolved
2018-07-24 11:06caristuFixed in SCM revision => 4247770aa6fd76f1929adb1003f36e6256c41bae
2018-07-24 11:06caristuResolutionopen => fixed
2018-07-24 11:06caristuFixed in SCM revision4247770aa6fd76f1929adb1003f36e6256c41bae =>
2018-07-26 13:17hgbotCheckin
2018-07-26 13:17hgbotNote Added: 0105961
2018-07-31 16:15hgbotCheckin
2018-07-31 16:15hgbotNote Added: 0106060
2018-08-01 08:52hgbotCheckin
2018-08-01 08:52hgbotNote Added: 0106066
2018-08-03 10:38caristuDescription Updatedbug_revision_view_page.php?rev_id=17489#r17489
2018-08-03 10:39caristuDescription Updatedbug_revision_view_page.php?rev_id=17490#r17490
2018-08-03 10:48caristuDescription Updatedbug_revision_view_page.php?rev_id=17491#r17491
2018-08-03 10:59caristuNote Added: 0106154
2018-08-03 10:59caristuStatusresolved => closed
2018-08-03 10:59caristuFixed in Version => 3.0PR18Q4

Notes
(0105856)
hgbot   
2018-07-24 10:56   
Repository: erp/mods/org.openbravo.activiti
Changeset: 4247770aa6fd76f1929adb1003f36e6256c41bae
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jul 06 13:29:57 2018 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.activiti/rev/4247770aa6fd76f1929adb1003f36e6256c41bae [^]

Related to issue 38918: Update modules to support latest version of Hibernate

Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/activiti/OBActivitiEntityEventDataSynchronizer.java
---
(0105859)
hgbot   
2018-07-24 10:56   
Repository: erp/pmods/org.openbravo.client.analytics
Changeset: fadcd492b2c98756d087ebb351edec0fd3287ec1
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Mon Jul 09 09:09:42 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.client.analytics/rev/fadcd492b2c98756d087ebb351edec0fd3287ec1 [^]

Related to issue 38918: Update modules to support latest version of Hibernate

Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/client/analytics/OBOlapClosureTreeHandler.java
M src/org/openbravo/client/analytics/TimeDimensionProvider.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactDiscountsUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactObjectUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactOrderUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactSalesOrderHeaderUpdater.java
M src/org/openbravo/client/analytics/fact/OBAnalyticsFactUpdater.java
M src/org/openbravo/client/analytics/mondrian/Mondrian4SchemaGenerator.java
M src/org/openbravo/client/analytics/mondrian/OBMondrianMemberFormatter.java
M src/org/openbravo/client/analytics/utils/OBAnalyticsUtils.java
---
(0105862)
hgbot   
2018-07-24 10:56   
Repository: erp/pmods/org.openbravo.externaldata.integration
Changeset: 571edfb29a15649f43a1f9cba7fce7662bd95370
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jul 06 14:29:25 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.externaldata.integration/rev/571edfb29a15649f43a1f9cba7fce7662bd95370 [^]

Related to issue 38918: Update modules to support latest version of Hibernate

Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
(0105863)
hgbot   
2018-07-24 10:56   
Repository: erp/pmods/org.openbravo.ezattributes
Changeset: b133783a0a77b8f2241783d7abbaa2a436e8fa70
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Mon Jul 09 09:35:37 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.ezattributes/rev/b133783a0a77b8f2241783d7abbaa2a436e8fa70 [^]

Related to issue 38918: Update modules to support latest version of Hibernate

Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/ezattributes/callouts/SL_NewFieldsCallout.java
M src/org/openbravo/ezattributes/processes/GenerateProcess.java
---
(0105871)
hgbot   
2018-07-24 10:57   
Repository: erp/pmods/org.openbravo.integration.google
Changeset: 17889d35121191cbb625983dca2c48f3a600e7d4
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jul 06 14:14:59 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.integration.google/rev/17889d35121191cbb625983dca2c48f3a600e7d4 [^]

Related to issue 38918: Update modules to support latest version of Hibernate

Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/integration/google/common/log/LogBackgroundProcess.java
---
(0105897)
hgbot   
2018-07-24 11:02   
Repository: erp/mods/org.openbravo.utility.commons.csv
Changeset: db362482d5e91f9b2d6ad239569cf9dc97a48fd5
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jul 18 12:05:21 2018 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.utility.commons.csv/rev/db362482d5e91f9b2d6ad239569cf9dc97a48fd5 [^]

Related to issue 38918: Update modules to support latest version of Hibernate
Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/utility/commons/csv/CSVGenerator.java
---
(0105898)
hgbot   
2018-07-24 11:02   
Repository: erp/mods/org.openbravo.utility.hqlquerytool
Changeset: ba456341a1c939b6fdb3f43319351696c9d4473d
Author: Javier Armendáriz <javier.armendariz <at> openbravo.com>
Date: Fri Jul 06 14:13:19 2018 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.utility.hqlquerytool/rev/ba456341a1c939b6fdb3f43319351696c9d4473d [^]

Related to issue 38918: Update modules to support latest version of Hibernate

Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/utility/hqlquerytool/HQLQueryTool.java
---
(0105899)
hgbot   
2018-07-24 11:02   
Repository: erp/pmods/org.openbravo.utility.zoho
Changeset: 3ecf59639451c72b4161433a15444f66acf9aed8
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Jul 18 12:06:41 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.utility.zoho/rev/3ecf59639451c72b4161433a15444f66acf9aed8 [^]

Related to issue 38918: Update modules to support latest version of Hibernate
Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/utility/zoho/process/ImportData.java
---
(0105961)
hgbot   
2018-07-26 13:17   
Repository: erp/pmods/org.openbravo.integration.google.signin
Changeset: eca0f00a1a1402f168f8b6bf21fdea771e60546a
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Jul 26 13:16:47 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.integration.google.signin/rev/eca0f00a1a1402f168f8b6bf21fdea771e60546a [^]

Related to issue 38918: Update modules to support latest version of Hibernate

  If a ConstraintViolationException occurs during the session flushing now it is not being directly thrown but wrapped inside a PersistenceException. Therefore test cases must be updated to expect now a PersistenceException.

---
M src/org/openbravo/integration/google/signin/button/AssociationHandler.java
---
(0106060)
hgbot   
2018-07-31 16:15   
Repository: erp/pmods/org.openbravo.service.integration.amazon.s3
Changeset: 62e10f13606bb6b3040f91437541d9fd51ff45fb
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Jul 31 16:15:31 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.integration.amazon.s3/rev/62e10f13606bb6b3040f91437541d9fd51ff45fb [^]

Related to issue 38918: Update modules to support latest version of Hibernate

  Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/service/integration/amazon/s3/process/MigrationProcess.java
---
(0106066)
hgbot   
2018-08-01 08:52   
Repository: erp/pmods/org.openbravo.service.external.integration
Changeset: bb02e1fb762e6b07e4bdb297b0d4282f9da9dcdb
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Aug 01 08:52:33 2018 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.service.external.integration/rev/bb02e1fb762e6b07e4bdb297b0d4282f9da9dcdb [^]

Related to issue 38918: Update modules to support latest version of Hibernate

  Updated code to fully support Hibernate 5.3.

---
M src/org/openbravo/service/external/integration/mapping/DirectPropertyMapping.java
M src/org/openbravo/service/external/integration/process/ExportEdlRequestParamsProvider.java
M src/org/openbravo/service/external/integration/process/ExportExternalSynchronizationProcess.java
M src/org/openbravo/service/external/integration/process/ExportRequestInfo.java
M src/org/openbravo/service/external/integration/process/HqlQueryBuilder.java
---
(0106154)
caristu   
2018-08-03 10:59   
Reviewed