Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0025761 | Openbravo ERP | A. Platform | public | 2014-02-18 19:47 | 2014-02-18 19:47 |
Reporter | shuehner | ||||
Assigned To | shuehner | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
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 | 0025761: Allow xsql to get list of java fields from all SqlMethods instead of only the first one. | ||||
Description | Currently SqlC only uses list of result columns form the first SqlMethod to build the list of fields in java. This forces developers to manually add "'' as myextrafield" in the first select statement to add more fields. Or even add a otherwise completely useless 'dummy' methods as the first methods in a file just to define list of fields. Sqlc should be enhanced to allow it to parse list of result columns of all select statements in a file automatically avoiding developers to need to do that manually. Note: When doing so add also option for generated java files not having any fields as that special case can happen i.e. in modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler_data.xsql which only has one update type method (after removing the dummy methods from the file). | ||||
Steps To Reproduce | n/a | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-02-18 19:47 | shuehner | New Issue | |||
2014-02-18 19:47 | shuehner | Assigned To | => shuehner | ||
2014-02-18 19:47 | shuehner | Modules | => Core | ||
2014-02-18 19:47 | shuehner | Triggers an Emergency Pack | => No |
There are no notes attached to this issue. |