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

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>

--
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/

Reply via email to