<!-- 
RSS generated by JIRA (5.2.7#850-sha1:b2af0c8dc8537b36121c6a579fabbdf79fc919e5) at Wed Jun 19 18:31:12 UTC 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.doctrine-project.org/jira/si/jira.issueviews:issue-xml/DBAL-367/DBAL-367.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Doctrine Project</title>
    <link>http://www.doctrine-project.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.7</version>
        <build-number>850</build-number>
        <build-date>21-02-2013</build-date>
    </build-info>

<item>
            <title>[DBAL-367] Reverse engnering do not work with Oracle DB</title>
                <link>http://www.doctrine-project.org/jira/browse/DBAL-367</link>
                <project id="10040" key="DBAL">Doctrine DBAL</project>
                        <description>&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ doctrine orm:convert-mapping --filter=&lt;span class=&quot;code-quote&quot;&gt;&quot;ms$ions&quot;&lt;/span&gt; xml .

  [Doctrine\DBAL\DBALException]
  Unknown database type binary_float requested, Doctrine\DBAL\Platforms\OraclePlatform may not support it.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;cli-config.php:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;

use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\AnnotationRegistry;

require_once &apos;Doctrine/Common/&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.php&apos;;

define(&apos;APPLICATION_ENV&apos;, &lt;span class=&quot;code-quote&quot;&gt;&quot;development&quot;&lt;/span&gt;);
error_reporting(E_ALL);

$classLoader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;(&apos;Doctrine&apos;);
$classLoader-&amp;gt;register();

$config = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Configuration();
$config-&amp;gt;setProxyDir(__DIR__);
$config-&amp;gt;setProxyNamespace(&apos;Proxies&apos;);

$config-&amp;gt;setAutoGenerateProxyClasses((APPLICATION_ENV == &lt;span class=&quot;code-quote&quot;&gt;&quot;development&quot;&lt;/span&gt;));

AnnotationRegistry::registerFile(&lt;span class=&quot;code-quote&quot;&gt;&quot;Doctrine/ORM/Mapping/Driver/DoctrineAnnotations.php&quot;&lt;/span&gt;);
$reader = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; AnnotationReader();
$driverImpl = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Mapping\Driver\AnnotationDriver($reader, array(__DIR__ . &lt;span class=&quot;code-quote&quot;&gt;&quot;/../php/ru/niifhm/bioinformatics/biodb/model&quot;&lt;/span&gt;));
$config-&amp;gt;setMetadataDriverImpl($driverImpl);

&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (APPLICATION_ENV == &lt;span class=&quot;code-quote&quot;&gt;&quot;development&quot;&lt;/span&gt;) {
    $cache = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Cache\ArrayCache();
} &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
    $cache = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\Common\Cache\ApcCache();
}

$config-&amp;gt;setMetadataCacheImpl($cache);
$config-&amp;gt;setQueryCacheImpl($cache);

$connectionOptions = array(
    &apos;driver&apos;   =&amp;gt; &apos;oci8&apos;,
    &apos;host&apos;     =&amp;gt; &apos;host.name&apos;,
    &apos;dbname&apos;   =&amp;gt; &apos;db.name&apos;,
    &apos;user&apos;     =&amp;gt; &apos;user.name&apos;,
    &apos;password&apos; =&amp;gt; &apos;user.password&apos;
);

$em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config);
$platform = $em-&amp;gt;getConnection()-&amp;gt;getDatabasePlatform();
$platform-&amp;gt;registerDoctrineTypeMapping(&apos;&lt;span class=&quot;code-keyword&quot;&gt;enum&lt;/span&gt;&apos;, &apos;string&apos;);

$em-&amp;gt;getConfiguration()-&amp;gt;setMetadataDriverImpl(
    &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Mapping\Driver\DatabaseDriver(
        $em-&amp;gt;getConnection()-&amp;gt;getSchemaManager()
    )
);

$helperSet = &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Symfony\Component\Console\Helper\HelperSet(array(
    &apos;db&apos; =&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($em-&amp;gt;getConnection()),
    &apos;em&apos; =&amp;gt; &lt;span class=&quot;code-keyword&quot;&gt;new&lt;/span&gt; \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em)
));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>PHP 5.3.3-1ubuntu9.10 with Suhosin-Patch (cli) (built: Feb 11 2012 06:21:15)&lt;br/&gt;
oci8-1.4.7 as PHP extension builded from pecl repository with instantclient-basic-linux.x64-11.2.0.3.0.zip and instantclient-sdk-linux.x64-11.2.0.3.0.zip&lt;br/&gt;
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production</environment>
            <key id="14141">DBAL-367</key>
            <summary>Reverse engnering do not work with Oracle DB</summary>
                <type id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.doctrine-project.org/jira/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.doctrine-project.org/jira/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="beberlei">Benjamin Eberlei</assignee>
                                <reporter username="zeleniy">Zelenin Alexandr</reporter>
                        <labels>
                        <label>Cli</label>
                        <label>oracle</label>
                        <label>schematool</label>
                    </labels>
                <created>Thu, 18 Oct 2012 13:43:14 +0000</created>
                <updated>Wed, 23 Jan 2013 21:55:55 +0000</updated>
                                    <version>2.3</version>
                                                <component>Drivers</component>
                <component>Schema Managers</component>
                        <due></due>
                    <votes>0</votes>
                        <watches>2</watches>
                        <comments>
                    <comment id="19377" author="ocramius" created="Wed, 23 Jan 2013 21:55:55 +0000"  >&lt;p&gt;Formatting&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
        </item>
</channel>
</rss>