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 - Service builder plugin generates incorrect xml
Summary: Service builder plugin generates incorrect xml
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ chetansanth
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 10:40 UTC by kk_sriram
Modified: 2009-04-07 10:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.