-->
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: Wierd behavior in Session.Load()
PostPosted: Wed Apr 25, 2007 2:44 pm 
Newbie

Joined: Wed Apr 25, 2007 2:20 pm
Posts: 1
Location: Rio de Janeiro, Brazil
Hi,

I´m no NHibernate expert, but i´ve been using it for some time in most of my developments. However i´d strugled for some days and couldn´t find out what wrong this time. The mapping below, and its class implementation seems ok, and i´ve no problems creating and Saving new objects with it. The properties are persisted just fine in the database. The problem occurs when i load an object from the database, no exception is raised and the object is returned, but some of it´s properties get their values mixed up. There´s no mixed names of the classes private members, and all of the properties getters and setters are correct.

Debbugging the source code for NHibernate i noticed that the NHibernate.SqlCommand.SqlString used on the Loader abstract class seems to be missing some of the database columns. I haven´t found yet where this SqlString gets instanced.

Anyone has experienced something like that? Any hints or clues? Am i missing something, or blinded by my lack of knowlodge? Just as a reminder, the Object gets persisted perfectly in the database.

NHibernate version: 1.0.4
Database Server: MySQL 4.1.10

_________________
Best regards,

--
Fabio W.


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.