Joined: Tue Mar 27, 2007 10:55 pm Posts: 2103 Location: Earth Has thanked: 39 time Have thanks: 56 time
Following code show you how to create a named query within your code (Not at orm.xml when u r are working on application server ) , Am creating here a named query using enhanced query or what it is named EJB-QL .