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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0025761
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Openbravo ERP] A. Platformminorhave not tried2014-02-18 19:472014-02-18 19:47
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0025761: Allow xsql to get list of java fields from all SqlMethods instead of only the first one.

DescriptionCurrently 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 Reproducen/a
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker