Update FeatureLockingTest to close connections when transaction no longer needed
--------------------------------------------------------------------------------

                 Key: GEOT-3311
                 URL: http://jira.codehaus.org/browse/GEOT-3311
             Project: GeoTools
          Issue Type: Improvement
          Components: data jdbc
    Affects Versions: 2.7-M3
            Reporter: Justin Deoliveira
            Assignee: Justin Deoliveira


When running tests for spatialite I ran into some locking issues. It seems its 
locking is quite strict in that whenever a write lock is held by a connection 
that connection must be closed before any other connections can read the table. 

I was able to work around this in some of the tests by closing the secondary 
transaction a bit early (see the patch). But I am not sure if this is going a 
bit far and changing the test. 

A quick sanity check would be great.

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

        

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to