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 205111 - Annotation of new Entity class is wrong
Summary: Annotation of new Entity class is wrong
Status: RESOLVED DUPLICATE of bug 197538
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 7.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 18:50 UTC by debuggercz
Modified: 2011-11-14 20:12 UTC (History)
0 users

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 debuggercz 2011-11-14 18:50:22 UTC
Product Version: NetBeans IDE Dev (Build 201111130600)
Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b17
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
User directory: C:\Users\tester\.netbeans\dev
Cache directory: C:\Users\tester\.netbeans\dev\var\cache

Steps:
1. Choose File | New Project and select the Web Application template from the Java Web category.
2. Click Next in Name and Location page.
3. Click Next in Server and Settings page.
4. Click Finish
5. Invoke New | Other and choose Persistence | Entity Class
6. As Package enter value "entity" and push Next
7. Invoke drop down menu on Database Connection and select jdbc:derby://localhost:1527/sample[app on APP]
8. Push Finish

There will be entity:
@Entitypublic class NewEntity implements Serializable {
...
// Problem is that missing new line after annotation @Entity...
Comment 1 Martin Fousek 2011-11-14 19:37:04 UTC
Probably duplicate of issue #197538?
Comment 2 Sergey Petrov 2011-11-14 20:12:56 UTC

*** This bug has been marked as a duplicate of bug 197538 ***