Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0025761 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
design defect | [Openbravo ERP] A. Platform | minor | have not tried | 2014-02-18 19:47 | 2014-02-18 19:47 | |||||||
Reporter | shuehner | View Status | public | |||||||||
Assigned To | shuehner | |||||||||||
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 | |||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
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 | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |