I am using EclipseLink with Oralce DB and would like to get database name, schema version and url via EntityManager. I have already tried solution mentioned in following question
Getting a JDBC connection from EclipseLink
But this approach is not working for me and I have mentioned the problem in following question:
Getting sql connection via EclipseLink
I would like to know how can I get the required data directly via native query. I have an instance of entityManager and using it, I can execute native queries and get what I want