Mapping.Attribute + NH1.2...[?] 2009/7/28 nicco80 <[email protected]>
>
> I found a workaround for this by defining the table name as quoted,
> ie.
> [NHibernate.Mapping.Attributes.Class(
> Polymorphism =
> NHibernate.Mapping.Attributes.PolymorphismType.Implicit,
> Table="`Action`" //this fixes an issue with the JetDriver
> since action is a keyword and Table.IsQuoted should be true in that
> case
> )]
> public class Action {
> ...
> }
>
> Mappings (with quote ` workaround applied):
> <class name="DataModel.Actions.Action, Kernel" table="`Action`"
> polymorphism="implicit">
> <id name="Id" column="Id" type="Int64" length="10" unsaved-
> value="-1">
> <generator class="native" />
> </id>
> <property name="Active" column="IsActive" />
> <property name="Name" length="255" />
> <property name="Description" length="512" />
> </class>
>
>
> > Under Firebird was tested.Mappings ?
> I saw a similar issue in firebird with nhibernate 1.2 i will try to
> configure the project to use .fdb database and post again
> >
>
--
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
-~----------~----~----~----~------~----~------~--~---
<<inline: 361.gif>>
