This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
kurs:doctrine_oracle_beipspiel [2012/01/19 11:37] mh |
kurs:doctrine_oracle_beipspiel [2012/01/19 11:38] mh |
||
---|---|---|---|
Line 69: | Line 69: | ||
// obtaining the entity manager | // obtaining the entity manager | ||
$entityManager = \Doctrine\ORM\EntityManager::create($conn, $config); | $entityManager = \Doctrine\ORM\EntityManager::create($conn, $config); | ||
+ | </code> | ||
+ | |||
+ | <code> | ||
+ | <?php | ||
+ | // bootstrap.php | ||
+ | |||
+ | require_once "entities/Test.php"; | ||
+ | |||
+ | if (!class_exists("Doctrine\Common\Version", false)) { | ||
+ | require_once "bootstrap_doctrine.php"; | ||
+ | } | ||
</code> | </code> |