openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alice <ashanai...@yahoo.com>
Subject Issue saving entities with fields that reference read only data
Date Tue, 11 Mar 2014 16:26:12 GMT
Hello,

We are running into issues with saving entities with fields that reference
read only data. If the entity has a field mapped with 'insertable = false'
and/or 'updatable = false' for @Column or @JoinColumn,
OpenJPA still tries to do an insert into the read only entity. It also
complains that
CascadeType.PERSIST has not been specified on the relationship.

Is there a way to fix this issue?



--
View this message in context: http://openjpa.208410.n2.nabble.com/Issue-saving-entities-with-fields-that-reference-read-only-data-tp7586076.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message