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 119779

Summary: jpa refactoring : rename action breaks formating of e.g. OneToMany line
Product: javaee Reporter: Radim Roska <rroska>
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173299    

Description Radim Roska 2007-10-23 14:21:08 UTC
Product Version: NetBeans IDE Dev (Build 200710230000)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02

1. Create ejb project
2. create some entity classes..easiest way is using entity classes from database wizard (  data source : jdbc/sample )
3. e.g. open PurchaseOrder entity class and select customerId variable
4. right click on productId - refactor - rename -> customerId2
5. look into Customer class at line 56...theres \t 
    private DiscountCode discountCode;
        @OneToMany(mappedBy = "customerId2")
Comment 1 Quality Engineering 2009-12-21 06:29:23 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team