openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-1847) Use a single connection when generating schema
Date Wed, 20 Oct 2010 19:00:58 GMT

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

Michael Dick updated OPENJPA-1847:
----------------------------------

    Attachment: OPENJPA-1847.patch.txt

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


Mime
View raw message