From: Fabio M. (JIRA) <nh...@gm...> - 2011-04-19 13:57:27
|
[ http://216.121.112.228/browse/NH-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo closed NH-2647. --------------------------- Resolution: Not an Issue > Forward mapping and db types > ---------------------------- > > Key: NH-2647 > URL: http://216.121.112.228/browse/NH-2647 > Project: NHibernate > Issue Type: Bug > Components: Core > Affects Versions: 3.0.0.GA > Reporter: David Popiashvili > Priority: Minor > Attachments: NHibernateTest.rar > > > When we create database from our *.hbm mapping files, some of the data types are not mapped correctly to the db. For example, NHibernate ignores Precision and Scale properties for decimal type. Also there's strange behavior with AnsiString, for example this property > <property name="Username" length="15" type="AnsiString" /> is mapped as nvarchar(1) on the database, shouldn't it be varchar(15)? > We are using .NET 4, NHibernate 3.0 and SQL Server 2008 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |