openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <>
Subject [jira] Created: (OPENJPA-1847) Use a single connection when generating schema
Date Wed, 20 Oct 2010 18:58:23 GMT
Use a single connection when generating schema

                 Key: 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.

View raw message