From: David P. (JIRA) <nh...@gm...> - 2011-04-19 11:49:31
|
[ http://216.121.112.228/browse/NH-2647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20920#action_20920 ] David Popiashvili commented on NH-2647: --------------------------------------- Fabio, I had the problem because I didn't pay attention that I was using MsSqlCeDialect with SQL Server 2008. I changed the dialect to MsSql2008Dialect and the problem is gone. So this is not your bug guys, just my stupid error. Please close this issue. Thanks and sorry for false alarm :) > 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 |