Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020611 | Openbravo ERP | A. Platform | public | 2012-05-25 13:12 | 2012-06-27 18:33 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP13 | |
Merge Request Status | |
Review Assigned To | |
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 | 0020611: OBCriteria doesn't support ScrollabeResults |
Description | OBCriteria doesn't support ScrollabeResults.
|
Steps To Reproduce | For some reason it raises org.hibernate.MappingException: Unknown entity: org.openbravo.model.common.businesspartner.BusinessPartner:
OBCriteria<BusinessPartner> c = OBDal.getInstance().createCriteria(BusinessPartner.class);
ScrollableResults iterator = c.scroll(ScrollMode.FORWARD_ONLY);
Note that replacing q.scroll(ScrollMode.FORWARD_ONLY) with q.list() works, so it seems not to be a problem in the mapping.
Might it be a Hibernate issue: https://forum.hibernate.org/viewtopic.php?f=1&t=987983 [^] |
Proposed Solution | |
Additional Information | |
Tags | Performance |
Relationships | related to | design defect | 0020515 | | closed | alostale | OBCriteria creates contention at JVM |
|
Attached Files | 20611.diff (2,990) 2012-06-03 22:17 https://issues.openbravo.com/file_download.php?file_id=5272&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2012-05-25 13:12 | alostale | New Issue | |
2012-05-25 13:12 | alostale | Assigned To | => alostale |
2012-05-25 13:12 | alostale | Modules | => Core |
2012-06-01 07:55 | alostale | Tag Attached: Performance | |
2012-06-01 07:55 | alostale | Relationship added | has duplicate 0020515 |
2012-06-01 08:00 | alostale | Relationship replaced | related to 0020515 |
2012-06-03 22:17 | mtaal | File Added: 20611.diff | |
2012-06-03 22:18 | mtaal | Note Added: 0049594 | |
2012-06-05 15:36 | hgbot | Checkin | |
2012-06-05 15:36 | hgbot | Note Added: 0049622 | |
2012-06-05 15:36 | hgbot | Status | new => resolved |
2012-06-05 15:36 | hgbot | Resolution | open => fixed |
2012-06-05 15:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a0b44c4d6906d5e2b397b320dea4c0f104524ad8 [^] |
2012-06-27 18:33 | alostale | Note Added: 0050194 | |
2012-06-27 18:33 | alostale | Status | resolved => closed |
2012-06-27 18:33 | alostale | Fixed in Version | => 3.0MP13 |