Does anyone have any experience with the above problem? Or isn't anyone besides me using MySql? ;)
/Jörgen On 7 Juni, 21:54, Jorgas <[email protected]> wrote: > Hello! > > I have a problem when trying to use Guid:s in NH together with MySql. > I use the type System.Guid in my POCO entities and using Fluent > NHibernate they get mapped onto VARCHAR(40) types in the database > using the MySql Dialect. > > I can create new entities, have NH generate the id:s with the > generator class Guid (or GuidComb) but when I try to read back > entities from the persistent store I get error messages like this: > > "Guid should contain 32 digits with 4 dashes". Somehow it seems like > if the translation between the database back to a System.Guid doesn't > work as intended. Or am I just doing it the wrong way? Should I be > using the uuid generator class instead? > > Best regards, Jörgen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
