Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0017255
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Human Capital Managementmajorhave not tried2011-05-18 18:402011-07-20 18:16
ReportershuehnerView Statuspublic 
Assigned Tojonalegriaesarte 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0017255: Module probably needs update to cope with the new hibernate behavior after the library update in 3.0rc7

DescriptionThis file:


./org.openbravo.hcm.common/src/org/openbravo/hcm/common/ad_callout/HCMC_employee_possalcat.java: whereClause.append(" left outer join ps.salaryCategory ");

contains an explicit left join without an alias in its hql and uses the join path 'ps.salaryCategory' again later in the where clause.


The old (3.2.5) hibernate version applies the where clause to that explicit left join. The new 3.6.3 version used in/after 3.0RC7 will add another inner join and apply the where condition on that changing behavior.

Steps To ReproduceCompare query behavior with old & new hibernate version.
Proposed Solution- Add alias to the join and use the alias-name in the where condition.
- run + test all hql queries once to check result.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0037177)
shuehner (administrator)
2011-05-18 18:41

According to dmi: target 3.0mp0

- Issue History
Date Modified Username Field Change
2011-05-18 18:40 shuehner New Issue
2011-05-18 18:40 shuehner Assigned To => adrianromero
2011-05-18 18:41 shuehner Note Added: 0037177
2011-06-03 10:57 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:16 dalsasua Assigned To dalsasua => jonalegriaesarte


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker