Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Trigonometric Functions in JPQL

Thanks Doug,

That would solve my needs.

I was worried that I may need to use vendor specific SQL; however there is a lot commonality among several databases in this respect.
Regards,
Samba

--------------------------------------------------------------------------------------------------------------------------------------
On Mon, May 30, 2011 at 6:26 AM, douglas clarke <douglas.clarke@xxxxxxxxxx> wrote:
Samba,

I do not believe the JPQL grammar covers this. In EclipseLink 2.1 we introduced extended support for using a FUNC construct in the grammar.

http://wiki.eclipse.org/EclipseLink/Release/2.1.0/JPAQueryEnhancements#FUNC

Doug


On 28/05/2011 3:01 PM, Samba wrote:
Hi,
Does JPA support trigonometric functions like Arccos, Cos, Sin, etc  in its query language?
 
I did not find any mention of such functions in the JPQL language reference. 
 
Does eclipselink have any extensions to support this feature?
 
Thanks and Regards,
Samba
_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users

_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users



Back to the top