This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162023

Summary: Service builder plugin generates incorrect xml
Product: contrib Reporter: kk_sriram <kk_sriram>
Component: PortalpackAssignee: _ chetansanth <chetansanth>
Status: RESOLVED FIXED    
Severity: blocker CC: issues
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description kk_sriram 2009-04-06 10:40:00 UTC
After we add an entity say Movie,the next stpe is to add colums..
When we click add column we have the option to specify 
1)name(this will be used as apart the api name)
2)Db column name
3)Datatype


The issue is the Db colum name is not used in the generated service.xml instead it uses the name in 1)
So when i add something like
1)cast
2)c2
3)String

results in "<column name='cast' db-name='cast' type='String'>
		</column>"

As aresult table is not created bcoz "cast" is keyword in DB like Mysql..
Comment 1 _ chetansanth 2009-04-07 10:10:54 UTC
Fixed.