Include the SQL and exception stack. Is this on an insert? The column must be marked as read-only (insertable/updateable=false)
In general mapping or making the ROWID the Id is not a good idea. If you really don't have an Id the either generate one, or make all of the columns the Id.
It's my mistake. JPA specification doesn't support ROWID type and EclipseLink doesn't have such extension.
So, I should make the generated @Id for JPA Entity class.