Is it possible to pass a primitive type as a constructor argument in a JPQL query. Here is an example of what I'm trying to do:
SELECT DISTINCT new myPackage.MyClass(c.id, c.desc, true) FROM Entry c
The boolean true argument is where my code barfs.
Thanks
-sud
____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367