[ 
https://issues.apache.org/jira/browse/OPENJPA-729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Richard Zowalla resolved OPENJPA-729.
-------------------------------------
    Resolution: Fixed

Already fixed on master: HandlerFieldStrategy.insert/update now only set the 
column when getColumnIO().isInsertable/isUpdatable 
(HandlerFieldStrategy.java:136,152). This was added in 02608cc65 (OPENJPA-765, 
Nov 2008), right after OPENJPA-665 caused the regression. Closing.

> @Column( insertable=false ) broken, causes 'can not be set' exception
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-729
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-729
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 1.2.0
>            Reporter: Gil Markham
>            Priority: Major
>
> It appears the patch to fix OPENJPA-665 has caused UserExceptions to always 
> occur on insert if using 'insertable=false' on a @Column annotation. I 
> haven't verified by I would assume the same holds true for updates and 
> 'updatable=false' considering the code looks the same.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to