|
Re: Custom SQL Functions? [message #388118 is a reply to message #388106] |
Mon, 25 May 2009 17:38 |
|
How are these functions used, from queries?
In EclipseLink you can define your own expression operators using the
ExpressionOperator class and registering these with the platform or with
ExpressionOperator. You can then use them in EclipseLink Expression
queries using the Expression getFunction(int) API.
You cannot currently use them in JPQL however (please log a bug for that).
You can also any database function using getFunction(String) and just give
the database function name. You could also use native SQL for the query.
---
James
http://www.nabble.com/EclipseLink---Users-f26658.html
James : Wiki : Book : Blog : Twitter
|
|
|
Powered by
FUDForum. Page generated in 1.38586 seconds