Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0040428 | Retail Modules | StoreServer | public | 2019-03-21 11:20 | 2022-05-20 09:06 |
Reporter | mtaal | ||||
Assigned To | mtaal | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | 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 | 0040428: When using nativequery make sure to set the type of the parameter to handle null | ||||
Description | See these topics: [1] https://stackoverflow.com/questions/21731343/jpa-native-query-set-null-parameter [^] [2] sql = "select ad_org_id from m_product where m_product_id=:productId"; final NativeQuery sqlQry = OBDal.getInstance().getSession().createNativeQuery(sql); sqlQry.setParameter("productId", getColumnValue("m_product_id", dataMetaData), StringType.INSTANCE); String productOrgId = (String) sqlQry.uniqueResult(); | ||||
Steps To Reproduce | See description | ||||
Proposed Solution | Change should be similar to this change: https://code.openbravo.com/erp/pmods-branches/org.openbravo.retail.storeserver.synchronization-q1/rev/686203970998 [^] | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-03-21 11:20 | mtaal | New Issue | |||
2019-03-21 11:20 | mtaal | Assigned To | => mtaal | ||
2019-03-21 11:20 | mtaal | Triggers an Emergency Pack | => No | ||
2022-05-20 09:06 | mtaal | Status | new => closed |
There are no notes attached to this issue. |