Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0038445 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2018-04-25 13:21 | 2018-06-08 11:30 | |||
Reporter | caristu | View Status | public | |||||
Assigned To | jarmendariz | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 3.0PR18Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c9a4a5d95eb5 | ||||
Projection | none | ETA | none | Target Version | 3.0PR18Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0038445: Do not use positional query parameters with Query (Retail) | |||||||
Description | Legacy-style query parameters ('?') are no longer supported in Hibernate 5.3[1]. Therefore, queries generated with Query class using such kind of parameters are not working anymore starting from that Hibernate version. This issue affects to the methods using an int that determines the parameter position: - setParameter(int, Object) - setString(int, String) - setInteger(int, int) - setDate(int, Date) - etc Named parameters should be used instead. [1] https://hibernate.atlassian.net/browse/HHH-12101 [^] | |||||||
Steps To Reproduce | In description | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0104961) hgbot (developer) 2018-06-05 18:11 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 0e8ecd06a02ebdf906a6a4ddda5027e6a6f80b23 Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Mon Jun 04 11:25:36 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0e8ecd06a02ebdf906a6a4ddda5027e6a6f80b23 [^] Fixed issue 38445: Removed positional parameters in Queries. Positional parameters will be deprecated in future versions of Hibernate, so its better not using it to make transition smoother. --- M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java --- |
(0104962) hgbot (developer) 2018-06-05 18:11 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 9d5c895e2bfc2d430fc044dacb5232d993310105 Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Tue Jun 05 11:21:01 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/9d5c895e2bfc2d430fc044dacb5232d993310105 [^] Related to issue 38445: Replaced Query.setString to setParameter. Starting from Hibernate 5.2, setString(String, String) is marked as deprecated. --- M src/org/openbravo/mobile/core/listener/StatusBackgroundProcessScheduler.java M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java M src/org/openbravo/mobile/core/servercontroller/ForceTransitionToOnline.java M src/org/openbravo/mobile/core/servercontroller/MobileServerStatusInformation.java --- |
(0104963) hgbot (developer) 2018-06-05 18:12 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: c9a4a5d95eb50f02832051a9d5dc2ecf66eee99e Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Mon Jun 04 11:35:08 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c9a4a5d95eb50f02832051a9d5dc2ecf66eee99e [^] Fixed issue 38445: Removed positional parameters in Queries. Positional parameters will be deprecated in future versions of Hibernate, so its better not using it to make transition smoother. --- M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java M src/org/openbravo/retail/posterminal/POSUtils.java M src/org/openbravo/retail/posterminal/PaidReceipts.java M src/org/openbravo/retail/posterminal/UpdateCashup.java M src/org/openbravo/retail/posterminal/term/CashCloseReport.java --- |
(0104964) hgbot (developer) 2018-06-05 18:12 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: a4f9ba15a7e9f11dc31496a8bef9430b25155692 Author: Javier Armendáriz <javier.armendariz <at> openbravo.com> Date: Tue Jun 05 11:22:07 2018 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/a4f9ba15a7e9f11dc31496a8bef9430b25155692 [^] Related to issue 38445: Replaced Query.setString to setParameter. Starting from Hibernate 5.2, setString(String, String) is marked as deprecated. --- M src/org/openbravo/retail/posterminal/ExternalOrderLoader.java M src/org/openbravo/retail/posterminal/POSUtils.java M src/org/openbravo/retail/posterminal/PaidReceipts.java M src/org/openbravo/retail/posterminal/UpdateCashup.java M src/org/openbravo/retail/posterminal/term/CashCloseReport.java M src/org/openbravo/retail/posterminal/term/Payments.java --- |
(0105031) caristu (developer) 2018-06-08 11:30 |
Reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2018-04-25 13:21 | caristu | New Issue | |
2018-04-25 13:21 | caristu | Assigned To | => jarmendariz |
2018-04-25 13:21 | caristu | Modules | => Core |
2018-04-25 13:21 | caristu | Triggers an Emergency Pack | => No |
2018-04-25 13:21 | caristu | Issue generated from | 0038442 |
2018-04-25 13:21 | caristu | Relationship added | related to 0038442 |
2018-04-25 13:23 | caristu | Target Version | => 3.0PR18Q3 |
2018-04-25 13:24 | caristu | Relationship added | related to 0038446 |
2018-04-27 13:25 | alostale | Relationship added | related to 0037064 |
2018-06-04 11:24 | jarmendariz | Status | new => scheduled |
2018-06-05 18:11 | hgbot | Checkin | |
2018-06-05 18:11 | hgbot | Note Added: 0104961 | |
2018-06-05 18:11 | hgbot | Status | scheduled => resolved |
2018-06-05 18:11 | hgbot | Resolution | open => fixed |
2018-06-05 18:11 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0e8ecd06a02ebdf906a6a4ddda5027e6a6f80b23 [^] |
2018-06-05 18:11 | hgbot | Checkin | |
2018-06-05 18:11 | hgbot | Note Added: 0104962 | |
2018-06-05 18:12 | hgbot | Checkin | |
2018-06-05 18:12 | hgbot | Note Added: 0104963 | |
2018-06-05 18:12 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0e8ecd06a02ebdf906a6a4ddda5027e6a6f80b23 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c9a4a5d95eb50f02832051a9d5dc2ecf66eee99e [^] |
2018-06-05 18:12 | hgbot | Checkin | |
2018-06-05 18:12 | hgbot | Note Added: 0104964 | |
2018-06-06 08:58 | jarmendariz | Review Assigned To | => caristu |
2018-06-08 11:30 | caristu | Note Added: 0105031 | |
2018-06-08 11:30 | caristu | Status | resolved => closed |
2018-06-08 11:30 | caristu | Fixed in Version | => 3.0PR18Q3 |
Copyright © 2000 - 2009 MantisBT Group |