Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0040614 | Openbravo ERP | A. Platform | public | 2019-04-15 09:17 | 2019-04-19 08:08 |
|
Reporter | caristu | |
Assigned To | caristu | |
Priority | high | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0040614: API change: support method chaining in OBQuery and OBCriteria |
Description | 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 [^] |
Steps To Reproduce | N/A |
Proposed Solution | |
Additional Information | |
Tags | Approved |
Relationships | related to | feature request | 0040552 | | closed | caristu | upgrade hibernate to version 5.4 |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-04-15 09:17 | caristu | New Issue | |
2019-04-15 09:17 | caristu | Assigned To | => platform |
2019-04-15 09:17 | caristu | Modules | => Core |
2019-04-15 09:17 | caristu | Triggers an Emergency Pack | => No |
2019-04-15 09:17 | caristu | Relationship added | related to 0040552 |
2019-04-15 09:24 | caristu | Summary | API changes to support method chaining in OBQuery and OBCriteria => API change: support method chaining in OBQuery and OBCriteria |
2019-04-15 09:24 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18625#r18625 |
2019-04-15 09:25 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18626#r18626 |
2019-04-15 09:25 | caristu | Assigned To | platform => caristu |
2019-04-15 09:34 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18627#r18627 |
2019-04-15 15:25 | alostale | Tag Attached: Approved | |
2019-04-16 18:33 | hgbot | Checkin | |
2019-04-16 18:33 | hgbot | Note Added: 0111169 | |
2019-04-16 18:33 | hgbot | Status | new => resolved |
2019-04-16 18:33 | hgbot | Resolution | open => fixed |
2019-04-16 18:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/60692fafdebbd8fe74b4d15315f0fd504e17fb79 [^] |
2019-04-16 18:34 | caristu | Review Assigned To | => alostale |
2019-04-17 12:36 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18647#r18647 |
2019-04-17 12:37 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18648#r18648 |
2019-04-17 12:45 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18649#r18649 |
2019-04-17 12:52 | caristu | Description Updated | bug_revision_view_page.php?rev_id=18650#r18650 |
2019-04-19 08:08 | alostale | Status | resolved => closed |