History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-17584
Type: Bug Bug
Status: Open Open
Assignee: Gregory Shrago
Reporter: Kyrill Alyoshin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

IDEA does not recognize JPA/Hibernate named queries mapped with annotations

Created: 31 Mar 08 05:19   Updated: 07 Apr 08 21:48
Component/s: J2EE.Hibernate

Environment:
OS: Windows XP
JDK: JDK 1.6.0
IDEA: 7.0

Build: 7,757
Severity: Medium


 Description  « Hide
OK. I have a query mapped with @NamedNativeQuery on a class. When I call session.getNamedQuery(String), IDEA tells me the name of the query is not recognized.

This is a bug.



 All   Comments   Work Log   Change History      Sort Order:
Gregory Shrago - 07 Apr 08 21:48
This is actually works for me.
I need to know your exact setup to learn what happens.

The location of queries and client code, persistence unit description, etc.
Small project to reproduce the problem will help a lot.