@piotr_cz in line 139 of your DoctrineServiceProvider you use
'driver' => $appConfig->get('database.driver'),
to get the db-driver you use in the Doctrine EntityManager. But I don't understand how that could work. For it will retrieve the driver used in Joomla, like mysqli, while AFAIK Doctrine needs a pdo-driver. Did you get that working? How? What was your driver? Interesting!
BTW in my implementation you'll see much CMS-stuff (like \Factory), but that is because my Doctrine-applications are mainly Joomla CMS extensions (as that is what my customers need... and are paying for). Only recently also started to use Doctrine with some Joomla Framework parts, without the whole CMS.
On Sunday, 6 April 2014 13:37:06 UTC+2, piotr_cz wrote:
I use Sqlite for testing, and it's being used in the Database tests and in Jooma CMS tests too, it's really handy.
By the way, did you manage to use Doctrine with table prefix (Joomla style)? While it works for me when creating entities and updating table schema, it doesn't when going other way around, I'm getting double-prefixed table names.