[
https://issues.apache.org/jira/browse/OPENJPA-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13166842#comment-13166842
]
Rakesh Raghunath commented on OPENJPA-2093:
-------------------------------------------
i am attaching my persistance xml
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="TestPU"
transaction-type="RESOURCE_LOCAL">
<!-- <jta-data-source>jdbc/ACMEDataSource</jta-data-source>
-->
<provider>
org.apache.openjpa.persistence.PersistenceProviderImpl
</provider>
<class>
org.test.ABC
</class>
<class>
org.test.XYZ
</class>
<class>
org.test.LMN
</class>
<class>
org.test.KKK
</class>
.
.
.
.
.
.
.
.
<properties>
<property name="openjpa.ConnectionDriverName"
value="oracle.jdbc.driver.OracleDriver" />
<property name="openjpa.ConnectionURL"
value="jdbc:oracle:thin:@rakesh:1525:sample" />
<property name="openjpa.ConnectionUserName" value="syy"
/>
<property name="openjpa.ConnectionPassword"
value="XXXXX" />
<property name="openjpa.jdbc.SchemaFactory"
value="native(ForeignKeys=true)" />
</properties>
</persistence-unit>
</persistence>
> How to increase the perfomance of JPA on creating the entitymanager instance.
> -----------------------------------------------------------------------------
>
> Key: OPENJPA-2093
> URL: https://issues.apache.org/jira/browse/OPENJPA-2093
> Project: OpenJPA
> Issue Type: Question
> Affects Versions: 1.2.1, 2.0.0
> Reporter: Rakesh Raghunath
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> In my persistance.xml I am trying to enhance 20 classes. When i create the
> entity manager instance , it takes 30seconds to create the instance..
> Kindly provide me some tips to make it performant.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira