[
https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fay Wang updated OPENJPA-1348:
------------------------------
Attachment: OPENJPA-1348.patch
The problem that the embeddable fields are not persisted using WriteBehindCache
is that WriteBehindCallback has its own BrokerImpl, which is different from the
BrokerImpl in the embeddable's StateManagerImpl. As a result, the
StateManagerImpl of the embeddable can not be fetched. The attached patch is to
set a flag to indicate whether a particular BrokerImpl is from
WriteBehindCallback.
> Embeddable data not persisted when using WriteBehind cache flush operation
> --------------------------------------------------------------------------
>
> Key: OPENJPA-1348
> URL: https://issues.apache.org/jira/browse/OPENJPA-1348
> Project: OpenJPA
> Issue Type: Sub-task
> Reporter: Tim McConnell
> Assignee: Michael Dick
> Priority: Minor
> Attachments: OPENJPA-1348.patch
>
>
> When using an entity that includes an embeddable with the WriteBehind cache
> flush operation all the data associated with the entity is properly persisted
> in the database. However, none of the data associated with the embeddable is
> persisted. A testcase will be provided to demonstrate this failure.....
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.