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 168654 - persistence plugin may offer singular class names
Summary: persistence plugin may offer singular class names
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-16 06:40 UTC by firatkucuk
Modified: 2016-07-07 08:53 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
simple sample of singular className generation (1.78 KB, patch)
2009-07-16 06:47 UTC, firatkucuk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description firatkucuk 2009-07-16 06:40:59 UTC
Generally table names are plural for instance:
apples, students, cars ...

and also entity classes are singular Apple, Student, Car.

Son entity class generator plugin should offer singular names. Like .dbml file generator in VisualStudio.
It converts plural table names to singular entity names.
Comment 1 firatkucuk 2009-07-16 06:47:29 UTC
Created attachment 84815 [details]
simple sample of singular className generation
Comment 2 Martin Balin 2016-07-07 08:53:32 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss