You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Tim McConnell (JIRA)" <ji...@apache.org> on 2009/10/14 04:15:31 UTC
[jira] Created: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache
Embeddable data not persisted when using WriteBehind cache
----------------------------------------------------------
Key: OPENJPA-1348
URL: https://issues.apache.org/jira/browse/OPENJPA-1348
Project: OpenJPA
Issue Type: Sub-task
Reporter: Tim McConnell
Assignee: Michael Dick
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-1348:
----------------------------------
Patch Info: (was: [Patch Available])
Assignee: (was: Donald Woods)
> 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
> Components: writebehind
> Affects Versions: 2.1.0
> Reporter: Tim McConnell
> Fix For: 2.1.0
>
> 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.
[jira] Updated: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick updated OPENJPA-1348:
----------------------------------
Fix Version/s: (was: 2.0.0-beta)
2.1.0
Affects Version/s: (was: 2.0.0-M3)
2.1.0
> 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
> Components: writebehind
> Affects Versions: 2.1.0
> Reporter: Tim McConnell
> Assignee: Donald Woods
> Fix For: 2.1.0
>
> 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.
[jira] Updated: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods updated OPENJPA-1348:
----------------------------------
Component/s: writebehind
Priority: Major (was: Minor)
Patch Info: [Patch Available]
Affects Version/s: 2.0.0-M3
Fix Version/s: 2.0.0-M4
Assignee: Donald Woods (was: Michael Dick)
> 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
> Components: writebehind
> Affects Versions: 2.0.0-M3
> Reporter: Tim McConnell
> Assignee: Donald Woods
> Fix For: 2.0.0-M4
>
> 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.
[jira] Resolved: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Donald Woods resolved OPENJPA-1348.
-----------------------------------
Resolution: Fixed
applied patch from Fay to trunk
> 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
> Components: writebehind
> Affects Versions: 2.0.0-M3
> Reporter: Tim McConnell
> Assignee: Donald Woods
> Fix For: 2.0.0-M4
>
> 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.
[jira] Updated: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim McConnell updated OPENJPA-1348:
-----------------------------------
Description: 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.....
Summary: Embeddable data not persisted when using WriteBehind cache flush operation (was: Embeddable data not persisted when using WriteBehind cache)
> 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
>
> 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.
[jira] Commented: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Tim McConnell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765370#action_12765370 ]
Tim McConnell commented on OPENJPA-1348:
----------------------------------------
See openjpa-persistence-jdbc\src\test\java\org\apache\openjpa\jdbc\writebehind\crud\TestEmbeddable.java and uncomment the testEntity01ManualFlush() method to see the failure....
> 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
>
> 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.
[jira] Updated: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Michael Dick (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick updated OPENJPA-1348:
----------------------------------
Priority: Minor (was: Major)
> 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
>
> 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.
[jira] Updated: (OPENJPA-1348) Embeddable data not persisted when
using WriteBehind cache flush operation
Posted by "Fay Wang (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Work started: (OPENJPA-1348) Embeddable data not persisted
when using WriteBehind cache flush operation
Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OPENJPA-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on OPENJPA-1348 started by Donald Woods.
> 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
> Components: writebehind
> Affects Versions: 2.0.0-M3
> Reporter: Tim McConnell
> Assignee: Donald Woods
> Fix For: 2.0.0-M4
>
> 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.