You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Michael Dick (JIRA)" <ji...@apache.org> on 2010/11/02 16:12:24 UTC
[jira] Closed: (OPENJPA-1847) Use a single connection when
generating schema
[ https://issues.apache.org/jira/browse/OPENJPA-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dick closed OPENJPA-1847.
---------------------------------
Resolution: Fixed
> 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
>
> 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.