-->
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.  [ 2 posts ] 
Author Message
 Post subject: What Have You Done? Special Nullable Entity Types??
PostPosted: Thu Oct 13, 2005 5:22 pm 
Why on earth did you change your Nullable type model from nhibernate descriptor only (interface based converters) to a model where you utilise NHibernate specific types in your entity classes?
This is one reason why everybody got away from Ejb, so they didnt have technology specific dependencies in their application classes?
Is this just to make way for .net 2.0, and will disappear when NHibernate moves to C# 2.0?


Top
  
 
 Post subject:
PostPosted: Fri Oct 14, 2005 4:21 am 
Contributor
Contributor

Joined: Wed May 11, 2005 4:59 pm
Posts: 1766
Location: Prague, Czech Republic
I don't understand what you mean by "nhibernate descriptor only" - you can always write your own type, create a IUserType implementation for it and use that. No need to get so upset about something you don't have to use, I would say.

Yes, nullable types were created as a temporary solution until NHibernate supports .NET 2.0. I will probably also add types for Microsoft SqlTypes in the near future, as these are also nullable, and a bit more "standard".


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

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.