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 - Refactoring does not update named queries
Summary: Refactoring does not update named queries
Status: RESOLVED DUPLICATE of bug 149876
Alias: None
Product: javaee
Classification: Unclassified
Component: Hibernate (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Vadiraj Deshpande
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-26 21:00 UTC by malfunction84
Modified: 2009-02-19 23:26 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 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 ***