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

Dan Haywood updated ISIS-370:
-----------------------------

    Description: 
On several occasions we've hit issues with the JDO/DataNucleus objectstore (eg 
tests that just hang) that turned out to be a deadlock in the HSQLDB JDBC 
driver caused by it attempting to run DDL (for the metamodel) intermixed within 
DML.  We surmised that the problem was that DataNucleus's metamodel was not 
fully created initially ... this is because Isis tells DN what the entities are 
by walking the graph from the repositories, and subtypes of entities are not 
always present in the interface of the action methods of those entities.

This ticket is to provide a service that can be registered in isis.properties 
and that will eagerly register all entities with Isis, and thus JDO, so that 
this sort of problem does not occur.
    
> Provide a service to allow all @PersistenceCapable entities to be eagerly 
> registered with Isis (and therefore with DataNucleus)
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-370
>                 URL: https://issues.apache.org/jira/browse/ISIS-370
>             Project: Isis
>          Issue Type: New Feature
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>
> On several occasions we've hit issues with the JDO/DataNucleus objectstore 
> (eg tests that just hang) that turned out to be a deadlock in the HSQLDB JDBC 
> driver caused by it attempting to run DDL (for the metamodel) intermixed 
> within DML.  We surmised that the problem was that DataNucleus's metamodel 
> was not fully created initially ... this is because Isis tells DN what the 
> entities are by walking the graph from the repositories, and subtypes of 
> entities are not always present in the interface of the action methods of 
> those entities.
> This ticket is to provide a service that can be registered in isis.properties 
> and that will eagerly register all entities with Isis, and thus JDO, so that 
> this sort of problem does not occur.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to