You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Dan Rollo <da...@gmail.com> on 2016/05/03 16:41:56 UTC

Doc issue

On the following page, the referenced property example to add to ‘persistence.xml’ is not visible in FF, Chrome, nor Safari:

http://openjpa.apache.org/entity-enhancement.html

See the section: OPENJPA-952
The last line of that section does not display the example property. (screenshot attached)


Here’s the page source snippet:
<blockquote>
<p>[java] 1047  jpa_app    WARN   [main] openjpa.Enhance - Unenhanced classes were
detected even though the enhancer has ran. Ensure that the
EntityManagerFactory is created prior to creating any Entities.</p>
</blockquote>
<p>If your application uses some other method of enhancement, this support can be explicitly disabled by setting the following property in your persistence.xml.</p>
<blockquote>
<p><property name="openjpa.DynamicEnhancementAgent" value="false"/></p>
</blockquote>
<p><a name="EntityEnhancement-SubclassingEnhancement"></a></p>



Re: Doc issue

Posted by Dan Rollo <da...@gmail.com>.
Looks good. Thanks.

> On May 3, 2016, at 10:51 AM, Francesco Chicchiriccò <il...@apache.org> wrote:
> 
> Hi Dan,
> thanks for reporting.
> 
> I have just updated and re-published the page below, now the XML snippet is visible - not sure if this was the best way to do it, though :-)
> 
> Regards.
> 
> On 03/05/2016 16:41, Dan Rollo wrote:
>> On the following page, the referenced property example to add to ‘persistence.xml’ is not visible in FF, Chrome, nor Safari:
>> 
>> http://openjpa.apache.org/entity-enhancement.html <http://openjpa.apache.org/entity-enhancement.html>
>> 
>> See the section: OPENJPA-952
>> The last line of that section does not display the example property. (screenshot attached)
>> <Mail Attachment.png>
>> 
>> Here’s the page source snippet:
>> <blockquote>
>> <p>[java] 1047  jpa_app    WARN   [main] openjpa.Enhance - Unenhanced classes were
>> detected even though the enhancer has ran. Ensure that the
>> EntityManagerFactory is created prior to creating any Entities.</p>
>> </blockquote>
>> <p>If your application uses some other method of enhancement, this support can be explicitly disabled by setting the following property in your persistence.xml.</p>
>> <blockquote>
>> <p><property name="openjpa.DynamicEnhancementAgent" value="false"/></p>
>> </blockquote>
>> <p><a name="EntityEnhancement-SubclassingEnhancement"></a></p>
> -- 
> Francesco Chicchiriccò
> 
> Tirasa - Open Source Excellence
> http://www.tirasa.net/ <http://www.tirasa.net/>
> 
> Involved at The Apache Software Foundation:
> member, Syncope PMC chair, Cocoon PMC,
> Olingo PMC, CXF Committer, OpenJPA Committer 
> http://home.apache.org/~ilgrosso/ <http://home.apache.org/~ilgrosso/>


Re: Doc issue

Posted by Francesco Chicchiriccò <il...@apache.org>.
Hi Dan,
thanks for reporting.

I have just updated and re-published the page below, now the XML snippet 
is visible - not sure if this was the best way to do it, though :-)

Regards.

On 03/05/2016 16:41, Dan Rollo wrote:
> On the following page, the referenced property example to add to 
> \u2018persistence.xml\u2019 is not visible in FF, Chrome, nor Safari:
>
> http://openjpa.apache.org/entity-enhancement.html
>
> See the section: OPENJPA-952
> The last line of that section does not display the example property. 
> (screenshot attached)
>
> Here\u2019s the page source snippet:
> <blockquote>
> <p>[java] 1047  jpa_app    WARN   [main] openjpa.Enhance - Unenhanced 
> classes were
> detected even though the enhancer has ran. Ensure that the
> EntityManagerFactory is created prior to creating any Entities.</p>
> </blockquote>
> <p>If your application uses some other method of enhancement, this 
> support can be explicitly disabled by setting the following property 
> in your persistence.xml.</p>
> <blockquote>
> <p><property name="openjpa.DynamicEnhancementAgent" value="false"/></p>
> </blockquote>
> <p><a name="EntityEnhancement-SubclassingEnhancement"></a></p>

-- 
Francesco Chicchiricc�

Tirasa - Open Source Excellence
http://www.tirasa.net/

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC,
Olingo PMC, CXF Committer, OpenJPA Committer
http://home.apache.org/~ilgrosso/