Database abstraction layer does not abstract from transactions
--------------------------------------------------------------

                 Key: CONNECTORS-39
                 URL: https://issues.apache.org/jira/browse/CONNECTORS-39
             Project: Lucene Connector Framework
          Issue Type: Improvement
          Components: Framework core
            Reporter: Karl Wright


The database abstraction layer in LCF does not permit someone to abstract from 
transaction management.  That responsibility is delegated to a different class, 
which presumes that transaction management is not database-type dependent.  
Unfortunately, this is not the case.

A better code structure would involve creating an abstract base class that 
performed the transaction management and caching, and causing all database 
implementations to be derived from it.  Then, abstract methods for transaction 
begin and end could be readily defined.


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