cancel
Showing results for 
Search instead for 
Did you mean: 

connecting Nwds and the oracle database

Former Member
0 Kudos

Hi,

I am trying to connect my jpa with oracle database but while i try to test it on NWA its throwing me a runtime exception

java.lang.RuntimeException:

[The persistence unit is inconsistent with the database schema:

Error on entity >>com.sap.test_entity<<: The table >>EMP<< does not exist].

The data source which i have created in NWA is already configured with Native SQL.

Please advise.

Regards

Gaurav

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor
0 Kudos
have you created the table?
Former Member
0 Kudos

i have created an entity which is mapped to the already existing table in the oracle database

junwu
Active Contributor
0 Kudos
i am not quite familiar with DB.
maybe the table is under different namespace, the user you are using to connect to db is not able to access that namespace.