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:38] mh |
kurs:doctrine_oracle_beipspiel [2012/01/19 13:54] mh |
||
---|---|---|---|
Line 63: | Line 63: | ||
'user' => 'hr', | 'user' => 'hr', | ||
'password' => 'hr', | 'password' => 'hr', | ||
- | 'host' => 'localhost', | + | 'host' => '10.0.2.15', |
+ | 'port' => '1521', | ||
'driver' => 'oci8', | 'driver' => 'oci8', | ||
+ | 'charset' => 'NLS_CHARACTERSET', | ||
); | ); | ||
- | |||
// obtaining the entity manager | // obtaining the entity manager | ||
$entityManager = \Doctrine\ORM\EntityManager::create($conn, $config); | $entityManager = \Doctrine\ORM\EntityManager::create($conn, $config); |