I need to query some of the system tables of an oracle database from my application but when I try to execute a nativequery I keep getting a null pointer exception.
I even tried the simplest of queries such as
select count(*) from dba_users;
I am guessing this might have something to do with the rights that the entitymanager has but I don't know.
How could I query on system tables using entityManager?
Thanks
I even tried the simplest of queries such as
select count(*) from dba_users;
I am guessing this might have something to do with the rights that the entitymanager has but I don't know.
How could I query on system tables using entityManager?
Thanks