cancel
Showing results for 
Search instead for 
Did you mean: 

JPA Primary Key and data dictionary: from int to long

former_member190457
Contributor
0 Kudos

Hi developers,

I'm on Oracle 10g, SAP NW CE 711 SP5

in my JPA entity I have an int primary key, in the data dictionary table column it's defined as integer and it's mapped to a column of type NUMBER(10,0) on Oracle.

Everything is correctly deployed.

Now I have changed the type on the JPA Entity from int to long, and in the data dictionary table as well.

After deploying, however the Oracle colum is still of type NUMBER(10,0).

I expected it to change accordingly after deploying the DDIC component.

Why did this happen? Did the fact that the column is a primary key get in the way?

Thanks, regards

Vincenzo

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

try to remove all data from table and deploy again. if this does not work then undeploy application or delete table from data-base and deploy dictionary application again.