Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0039319 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| feature request | [Retail Modules] Web POS | trivial | N/A | 2018-09-19 14:59 | 2018-09-19 15:04 | |||||||
| Reporter | adrianromero | View Status | public | |||||||||
| Assigned To | Retail | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| Projection | none | ETA | none | Target Version | ||||||||
| OS | Any | Database | Any | Java version | ||||||||
| OS Version | Database version | Ant version | ||||||||||
| Product Version | SCM revision | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| 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. | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
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 | OBNetwork customer | => No |
| 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 |
| Copyright © 2000 - 2009 MantisBT Group |