[ 
https://issues.apache.org/jira/browse/OPENJPA-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Curtis closed OPENJPA-1847.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0

Commited changes to 2.1.x and trunk.

> 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: Rick Curtis
>            Priority: Minor
>             Fix For: 2.1.0, 2.2.0
>
>         Attachments: OPENJPA-1847.patch.txt
>
>
> 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