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