Db Adapter should provide a begin transaction and commit method #2518

Closed
zfbot opened this Issue Sep 28, 2012 · 1 comment

Comments

Projects
None yet
2 participants

zfbot commented Sep 28, 2012

Jira Information

Original Issue:ZF2-451
Issue Type:Improvement
Reporter:Thomas R.
Created:08/06/12
Assignee:ralphschindler
Components:Zend\Db

Description

to start and commit a transaction, you have to use really ugly with code like:

$this->dbAdapter->driver->getConnection()->beginTransaction();

would it be possible to have a beginTransaction and commit method inside of the adapter, instead of having to dig down?

zfbot commented Sep 28, 2012

This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF2-451

Known GitHub users mentioned in the original message or comment:
@ralphschindler

@ghost ghost assigned ralphschindler Sep 28, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment