Use a single connection when generating schema
----------------------------------------------

                 Key: OPENJPA-1847
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1847
             Project: OpenJPA
          Issue Type: Improvement
          Components: jdbc
            Reporter: Michael Dick
            Assignee: Michael Dick
            Priority: Minor
             Fix For: 2.1.0


The SchemaTool obtains a new connection for each table it creates, then again 
for each index on each table, and again for each FK, and so on. 

The impact of obtaining multiple connections can be reduced by using a 
connection pool but it's still quite noticeable when running our unit tests 
when the schema tool runs for each test method. 

 

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

Reply via email to