Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0039319 | Retail Modules | Web POS | public | 2018-09-19 14:59 | 2018-09-19 15:04 | |||||||
Reporter | adrianromero | |||||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Severity | trivial | Reproducibility | N/A | |||||||
Status | new | Resolution | open | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0039319: Use Hibernate Query object typed in all cases | |||||||||||
Description | There are several Hibernate Query objects declared without type that requires to annotate its declaration with "@SuppressWarnings("rawtypes")" This is because the method "Query SimpleQueryBuilder::getDalQuery()" does not return Query typed. This can be avoided with an new generic method "<T> Query<T> SimpleQueryBuilder::getDalQuery(Class<T>)" that returns Query typed. | |||||||||||
Steps To Reproduce | N/A | |||||||||||
Proposed Solution | The attached changesets include the definition of the new generic method and one example of how to use. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | SimpleQueryBuilder_Hibernate_Compliant.diff (693) 2018-09-19 15:00 https://issues.openbravo.com/file_download.php?file_id=12154&type=bug SimpleQueryBuilder_Example.diff (1,017) 2018-09-19 15:01 https://issues.openbravo.com/file_download.php?file_id=12155&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-09-19 14:59 | adrianromero | New Issue | ||||||||||
2018-09-19 14:59 | adrianromero | Assigned To | => Retail | |||||||||
2018-09-19 14:59 | adrianromero | Triggers an Emergency Pack | => No | |||||||||
2018-09-19 14:59 | adrianromero | Relationship added | related to 0039144 | |||||||||
2018-09-19 15:00 | adrianromero | File Added: SimpleQueryBuilder_Hibernate_Compliant.diff | ||||||||||
2018-09-19 15:01 | adrianromero | File Added: SimpleQueryBuilder_Example.diff | ||||||||||
2018-09-19 15:04 | adrianromero | Type | design defect => feature request |
There are no notes attached to this issue. |