Run all table creation statements withing a single transaction
--------------------------------------------------------------

                 Key: GEOT-2253
                 URL: http://jira.codehaus.org/browse/GEOT-2253
             Project: GeoTools
          Issue Type: Improvement
          Components: data jdbc-ng
    Affects Versions: 2.5.2
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.5.3


At the moment JDBCDataStore runs all the table creation statements using an 
auto committing connection, it would be better if a transaction was used.
Notice that not all databases supports transactions with DDL, but some do, like 
PostgreSQL for example. Not sure about the others, but afaik most will just 
ignore the transaction being set if they don't support transactional DDL. Worst 
case we can add a new method to the dialect...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to