persistence@glassfish.java.net

Math expressions

From: Kiril Minanov <minanov_at_gmail.com>
Date: Sat, 5 Apr 2008 05:16:28 +0200

Hi,

I have the following query:

How can I make this query work
It seems that the *, +, -, / operators are not supported in the select
clause

SELECT
    p.price * p.price
FROM
   Products