Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005799Openbravo ERPA. Platformpublic2008-11-03 11:342008-11-26 20:20
shuehner 
shuehner 
normaltrivialN/A
closedfixed 
5
pi 
2.50 
Core
No
0005799: SqlC generates two functions for each query, one of these is never used
SqlC generates several functions per query of type multiple. The function with the signature (<original params>, keyName, keyValue, ...) is never used.
Remove the generation of the unneeded method from sqlc.

This slims down the size of the generated data classes by:

- about 200k lines
- about 13mb of source code
- about 4mb of compiled code
- about 2mb of the final war file-size
No tags attached.
depends on backport 00058332.50 closed shuehner SqlC generates two functions for each query, one of these is never used 
Issue History
2008-11-03 11:34shuehnerNew Issue
2008-11-03 11:34shuehnerAssigned To => shuehner
2008-11-03 11:34shuehnersf_bug_id0 => 2218668
2008-11-03 11:34shuehnerRegression testing => No
2008-11-03 11:35shuehnerStatusnew => scheduled
2008-11-03 11:35shuehnerfix_in_branch => trunk
2008-11-03 11:36svnbotCheckin
2008-11-03 11:36svnbotNote Added: 0009919
2008-11-03 11:36svnbotStatusscheduled => resolved
2008-11-03 11:36svnbotResolutionopen => fixed
2008-11-03 11:36svnbotsvn_revision => 9560
2008-11-05 13:16shuehnerStatusresolved => new
2008-11-05 13:16shuehnerResolutionfixed => open
2008-11-05 13:16shuehnerStatusnew => scheduled
2008-11-05 13:16shuehnerStatusscheduled => resolved
2008-11-05 13:16shuehnerResolutionopen => fixed
2008-11-26 20:20pjuvaraStatusresolved => closed

Notes
(0009919)
svnbot   
2008-11-03 11:36   
Repository: openbravo
Revision: 9560
Author: huehner
Date: 2008-11-03 11:36:30 +0100 (Mon, 03 Nov 2008)

Fixed 5799
Remove generation of second copy of query functions from sqlc, as
these variant is not used (anymore) in the codebase.

---
U trunk/src-core/src/org/openbravo/data/Sqlc.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=9560&sc=1 [^]