openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-620) OpenJPA configuration setting that guarantees that once the EMF is created, it will be fully-configured
Date Wed, 04 Jun 2008 14:23:45 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12602298#action_12602298
] 

Patrick Linskey commented on OPENJPA-620:
-----------------------------------------

An important first step is to have a single method that can be invoked against a Configuration
(or EMF or BrokerFactory) whose role it is to perform this work.

AbstractBrokerFactory.makeReadOnly() is in the wrong place, and is invoked by existing code
that might not expect it to have the same semantics. Maybe Configuration.setReadOnly() with
some new state (plus documentation)?

> OpenJPA configuration setting that guarantees that once the EMF is created, it will be
fully-configured
> -------------------------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-620
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-620
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: kernel
>    Affects Versions: 0.9.0, 0.9.6, 0.9.7, 1.0.0, 1.0.1, 1.0.2, 1.1.0
>            Reporter: Srinivasa
>            Priority: Minor
>
> Lot of the processing - like the loading of configured persistent types, processing the
metadata for the registered classes happens at the time of creating an EM or even later when
the metadata resolution is needed. Having a configuration where the obtaining of the EMF does
all this processing would be useful for early detection of errors, and for managed environments
where this could be done as a part of an application deploy step rather than happening at
runtime. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message