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 153967

Summary: Refactoring does not update named queries
Product: javaee Reporter: malfunction84 <malfunction84>
Component: HibernateAssignee: Vadiraj Deshpande <vadirajvd>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description malfunction84 2008-11-26 21:00:47 UTC
If I refactor the User class, it should update any named queries where I use it, such as the following...

<hibernate-mapping>
  <query name="user.by.username">
    from my.package.pojo.User u
    where UPPER(u.username) = UPPER(:username)
  </query>
</hibernate-mapping>
Comment 1 Vadiraj Deshpande 2008-11-27 18:28:36 UTC
Hyperlinking need to be enabled inside named queries.
Comment 2 Vadiraj Deshpande 2009-01-20 10:19:52 UTC
Named queries support will be taken up as part of the enhancement : 149876.

*** This issue has been marked as a duplicate of 149876 ***