Hi,

I'm going through a book tutorial which is based on SQLServer 2008 and
everything is running fine. I thought i'd change over to use MySQL 5
by changing the dialect and the sql script it's generating is throwing
errors.

The mapping is as below

<property name="UnitPrice" not-null="true" type="Currency" />

and this is generating

UnitPrice MONEY not null,

I'm not sure about this but i don't think there is a MONEY type in
MySQL and people normally use Decimal with some kind of precision.

Should i specify some other type in the mapping for it to work on
MySQL ?

Thanks,
Tim.

-- 
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.

Reply via email to