Thursday, October 20, 2011

NHibernate FAQ: how to specify exact database type in mapping

So you have simple class mapping like this:


 

  
   
    hi_value
    next_value
    1
   
  

  

  

  

 

and want to specify exact database type to „Timing“ property. So what should you do? You need the following very simple change in your mapping file:
  
   
  
That's it! Happy hibernating!