Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040614Openbravo ERPA. Platformpublic2019-04-15 09:172019-04-19 08:08
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
 
alostale
Core
No
0040614: API change: support method chaining in OBQuery and OBCriteria
As part of the changes introduced with 0040552, the methods that helps to build an OBQuery/OBCriteria will return the instance instead of void. This will allow to use method chaining with these classes in the same way that Hibernate's Query class.

This is an ABI change[1]: it does not affect source code compatibility (it will not break any compilation) but it breaks binary compatibility (i.e. OBQuery/OBCriteria related bytecodes that were previously compiled against the old API will no longer run).

In case of having a jar compiled against the old OBQuery/OCriteria API it should be recompiled with the new API in order to make it compatible with 3.0PR19Q3.

[1] https://en.wikipedia.org/wiki/Application_binary_interface [^]
N/A
Approved
related to feature request 0040552 closed caristu upgrade hibernate to version 5.4 
Issue History
2019-04-15 09:17caristuNew Issue
2019-04-15 09:17caristuAssigned To => platform
2019-04-15 09:17caristuModules => Core
2019-04-15 09:17caristuTriggers an Emergency Pack => No
2019-04-15 09:17caristuRelationship addedrelated to 0040552
2019-04-15 09:24caristuSummaryAPI changes to support method chaining in OBQuery and OBCriteria => API change: support method chaining in OBQuery and OBCriteria
2019-04-15 09:24caristuDescription Updatedbug_revision_view_page.php?rev_id=18625#r18625
2019-04-15 09:25caristuDescription Updatedbug_revision_view_page.php?rev_id=18626#r18626
2019-04-15 09:25caristuAssigned Toplatform => caristu
2019-04-15 09:34caristuDescription Updatedbug_revision_view_page.php?rev_id=18627#r18627
2019-04-15 15:25alostaleTag Attached: Approved
2019-04-16 18:33hgbotCheckin
2019-04-16 18:33hgbotNote Added: 0111169
2019-04-16 18:33hgbotStatusnew => resolved
2019-04-16 18:33hgbotResolutionopen => fixed
2019-04-16 18:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/60692fafdebbd8fe74b4d15315f0fd504e17fb79 [^]
2019-04-16 18:34caristuReview Assigned To => alostale
2019-04-17 12:36caristuDescription Updatedbug_revision_view_page.php?rev_id=18647#r18647
2019-04-17 12:37caristuDescription Updatedbug_revision_view_page.php?rev_id=18648#r18648
2019-04-17 12:45caristuDescription Updatedbug_revision_view_page.php?rev_id=18649#r18649
2019-04-17 12:52caristuDescription Updatedbug_revision_view_page.php?rev_id=18650#r18650
2019-04-19 08:08alostaleStatusresolved => closed

Notes
(0111169)
hgbot   
2019-04-16 18:33   
Repository: erp/devel/api-checks
Changeset: 60692fafdebbd8fe74b4d15315f0fd504e17fb79
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Apr 16 13:26:45 2019 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/60692fafdebbd8fe74b4d15315f0fd504e17fb79 [^]

fixes issue 40614: Support method chaining in OBQuery and OBCriteria

---
M java/reference/java.japi.gz
---