NHibernate 1.2GA
I'm trying to use HbmSerializer.Default.Serialize and mapping my class with Atributtes, but happen some thing very strange with some numbers of Relattion Atributtes, HbmSerializer.Default.Serialize works fine, but when i increase the numbers of Relattion Atributtes he generates wrong stream, i wrote the stream in a file and could see the error, some relation like:
[Set(Name = "Quartos", Lazy = false, Cascade = CascadeStyle.All),
Key(Column = "Reserva_id", ForeignKey = "Reserva_id"),
OneToMany(Class = "Quarto", ClassType = typeof(Quarto))]
dont generate one line or two from the class, so i dont know if the error is in HbmSerializer.Default.Serialize that read wrong the atributtes in the classes? if anyone know how to resolve this problem when generating the tables with Mapping.Atributtes please anwser this post...
|