Title: 
  Wrong code generated when code is generated using "Adobe CFC Generator" for DB tables
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): / (Rajesh Ranjan Jha)
Created: 11/07/2014
Components: Extensions
Versions: 3.0
Failure Type:
Found In Build/Fixed In Build: 3.0 Final /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem: Wrong code generated when code is generated using "Adobe CFC Generator" for MySQL DB tables
Method: 
1>  Create a project and database
2> Go to RDS Dataview 
3> Right click database table and click  "Adobe CFC Generator" -> "Create CFC"
4> Try to view generated CFC in browser
Result:  following error is thrown
The local variable INSTANCE cannot be declared outside of a function.
Expected:
Workaround:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID:	3848642
Reason:	NewBug
External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:Attachments:
Comments: