Hello; I need to map the result of a scalar function in Oracle to a field belonging to an entity using JPA with EclipseLink. In the past, when I used pure Hibernate, I could do this by using something like this: Now I need to do something similar but this time with JPA/EclipseLink. Does anybody know how this can be done? Thanks