These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Has a Bug? HbmSerializer.Default.Serialize
PostPosted: Mon Jun 09, 2008 1:44 pm 
Newbie

Joined: Mon Jun 09, 2008 1:08 pm
Posts: 3
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...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.