Hi Guys,
I am new for Forum as well as Hibernate..
I am doing some practice with hibernate. I am not able to understand named query. And tell me how the flow will works .....Below mention the error log.........In advance Thanks for giving reply.......
2:13:10,915 INFO [STDOUT] org.hibernate.MappingException: Named query not known at org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:70) at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1260) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:301) at $Proxy56.getNamedQuery(Unknown Source)
Regards Aniq...
|