[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058384#comment-18058384
 ] 

Andi Huber edited comment on CAUSEWAY-3967 at 2/13/26 10:51 AM:
----------------------------------------------------------------

I can definitely rule out, that this is a Causeway issue.
{noformat}
Thread [main] (Suspended)    
    owns: Object  (id=216)    
    PersistenceObjectAttributeAccessor.setAttributeValueInObject(Object, 
Object) line: 49    
    35 collapsed frames    
    OrmEntityFacet.persist(Object) line: 80    
    MmEntityUtils.persistInCurrentTransaction(ManagedObject) line: 68    
    JpaRepositoryService.persist(T) line: 50    
    2 collapsed frames    
    DataSetRepository.create(String, String) line: 30    
    DataSetRepository.upsert(String, String) line: 38    
    10 collapsed frames    
    DatasetBuilder.execute(FixtureScript$ExecutionContext) line: 32    
    65 collapsed frames    
    EstatioApp.main(String[]) line: 44    
{noformat}
org.eclipse.persistence.internal.descriptors.PersistenceObjectAttributeAccessor.setAttributeValueInObject(..)
 has no effect.

Speculative: Might be due to the abstract super of the entity in question 
living in a different module.


was (Author: ahuber):
I can definitely rule out, that this is a Causeway issue.
{noformat}
Thread [main] (Suspended)    
    owns: Object  (id=216)    
    PersistenceObjectAttributeAccessor.setAttributeValueInObject(Object, 
Object) line: 49    
    35 collapsed frames    
    OrmEntityFacet.persist(Object) line: 80    
    MmEntityUtils.persistInCurrentTransaction(ManagedObject) line: 68    
    JpaRepositoryService.persist(T) line: 50    
    2 collapsed frames    
    DataSetRepository.create(String, String) line: 30    
    DataSetRepository.upsert(String, String) line: 38    
    10 collapsed frames    
    DatasetBuilder.execute(FixtureScript$ExecutionContext) line: 32    
    65 collapsed frames    
    EstatioApp.main(String[]) line: 44    
{noformat}
PersistenceObjectAttributeAccessor.setAttributeValueInObject(..) has no effect.

Speculative: Might be due to the abstract super of the entity in question 
living in a different module.

> [JPA] Framework Consuming App fails to bookmark Entities when Weaving is 
> enabled
> --------------------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3967
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3967
>             Project: Causeway
>          Issue Type: Question
>          Components: Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 4.0.0
>
>
> Seeing this in v2:
> java.lang.IllegalArgumentException: cannot create bookmark for type 
> ObjectSpecificationDefault@2759031c[class=org.estatio.module.datasetdownloads.dom.DataSet,type=ENTITY,superclass=org.estatio.base.prod.dom.EntityAbstract]
> Question: is this a framework issue or not
> One would think, that Causeway should be agnostic to whether entities are 
> byte-code enhanced or not.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to