def __init__(self, connection_factory = None): DaoSupport.__init__(self, connection_factory) self.transactionManager = ConnectionFactoryTransactionManager(self.connection_factory) self.transactionTemplate = TransactionTemplate(self.transactionManager)
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)