Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008492Openbravo ERPA. Platformpublic2009-04-07 18:512009-04-26 00:00
marvintm 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
2.50MP1 
Core
No
0008492: DAL should convert all java keywords
Currently, DAL converts some Java keywords in property names to different words, so that compiling the generated classes can be done without errors.

However, not all the possible keywords are considered. Specifically, the keyword "public" is not considered, so if for example there is a column called "public" in a table, the generated class will contain a property called "public", which of course is wrong.
All the Java keywords should be filtered in NamingUtils.java.
main
Issue History
2009-04-07 18:51marvintmNew Issue
2009-04-07 18:51marvintmAssigned To => mtaal
2009-04-07 18:51marvintmRegression testing => No
2009-04-08 11:35hgbotCheckin
2009-04-08 11:35hgbotNote Added: 0015272
2009-04-08 11:35hgbotStatusnew => resolved
2009-04-08 11:35hgbotResolutionopen => fixed
2009-04-08 11:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6eecf40b3274a9f1070161da78639e368d0a5cf4 [^]
2009-04-22 11:23psarobeTag Attached: main
2009-04-25 13:11psarobeStatusresolved => closed
2009-04-26 00:00anonymoussf_bug_id0 => 2781346

Notes
(0015272)
hgbot   
2009-04-08 11:35   
Repository: erp/devel/pi
Changeset: 6eecf40b3274a9f1070161da78639e368d0a5cf4
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Wed Apr 08 11:35:11 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6eecf40b3274a9f1070161da78639e368d0a5cf4 [^]

Fixes issue 8492: DAL should convert all java keywords

---
M src/org/openbravo/base/model/NamingUtil.java
---