Thanks for the reply NHibernate version is 2.1.0 How do i specify precision and scale for a Double Type for a property Double(4,1) is it valid ?
On Jul 23, 10:09 pm, Fabio Maulo <[email protected]> wrote: > NH version ?In previous version than NH2.1.0 you must specify the <column> > tag with its sql-type. > IN NH2.1.0 all should work as expected. > > 2009/7/23 NHibernate1 <[email protected]> > > > > > I have an issue with property element in nhibernate mappings > > if i have an oracle datatype of number(p,s) and if i map this to > > Double datatype i am retriving extra precision for the data. If i use > > Decimal i am not facing any issue . If i want to use Double datatype > > in mapping the number(p,s) of oracle datatype how should i define my > > Type is that i need to specify something like Double(p,s) in property > > mapping. If so i getting NHibernate error cannot compile datatype ..Is > > this an issue using Double type in NHibernate ?? How should i use > > Double to map with number(p,s). > > -- > Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
