Exemple #1
0
 def __init__(self, connection_factory = None):
     DaoSupport.__init__(self, connection_factory)
     self.transactionManager = ConnectionFactoryTransactionManager(self.connection_factory)
     self.transactionTemplate = TransactionTemplate(self.transactionManager)
Exemple #2
0
 def __init__(self, connection_factory = None):
     DaoSupport.__init__(self, connection_factory)
     self.name = self.__class__.__name__
     self.logger = logging.getLogger("%s.%s" % (self.__module__, self.__class__.__name__))
     self.transactionManager = ConnectionFactoryTransactionManager(self.connection_factory)
     self.transactionTemplate = TransactionTemplate(self.transactionManager)