title: How to set doctrine2 column time type mapping to oracle datetime type
body: <p>Hi i got this error when trying to retrieve data from oracle database using doctrine 2 ORM:</p>
  
  <pre><code>Could not convert database value "2000-01-01 00:00:00" to Doctrine Type time. 
  Expected format: 1900-01-01 H:i:s 
  
  
  The type of the requested column is  time. but oracle stores it in DateTime format and it 
  set date to 2000-01-01. Doctrine retrieve the time using mask "1900-01-01".
  </code></pre>
  
  <p>When i insert a new Entity using Doctrine (Symfony), it passes, but when i insert a new recored in database table using Oracle SqlDeveloper, it won't work.</p>
  
  <p>How to fix this problem ?</p>
  
  <p>I use symfony Framework 2.4.3 + Doctrine</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>This is the output exception:</p>
  
  <pre><code>2. at ConversionException ::conversionFailedFormat ('2000-01-01 02:00:00', 'time', '1900-01-01 H:i:s')
  in /var/www/saga-print/shared/vendor/doctrine/dbal/lib/Doctrine/DBAL/Types/TimeType.php at line 67
  
  3. at TimeType -&gt;convertToPHPValue ('2000-01-01 02:00:00', object(OraclePlatform))
  in /var/www/saga-print/shared/vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php at line 330  
  </code></pre>
  
  <p><strong>WHEN I change the year to 1900 it works.</strong></p>
  
  <p>This is the attribute mapping</p>
  
  <pre><code>/**
   * @var \DateTime
   *
   * @ORM\Column(name="heure_livraison", type="time", nullable=true)
   *
   * @Assert\Time(message="Le champ 'Heure de livraison' n'est pas une heure valide.")
   */
  protected $heureLivraison;
  </code></pre>