-->
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.  [ 3 posts ] 
Author Message
 Post subject: DateTime nullable NHibernate is it still a problem ?
PostPosted: Fri Sep 11, 2009 9:23 am 
Newbie

Joined: Fri Sep 11, 2009 8:51 am
Posts: 4
Hi comunity,


there is a lot of articles talking about NHibernate workarounds supporting DateTime set to null.
I am new in NHibernate topic so could you please tell me what is state of the art of NHibernate DateTime Type, does it support naturally or still we need to change some config files/Nullable.dll´s or even NHibernate code in order to set DateTime to DateTime? nullable type ?

Thanks & regards,
Zoran


Top
 Profile  
 
 Post subject: Re: DateTime nullable NHibernate is it still a problem ?
PostPosted: Mon Sep 14, 2009 2:25 am 
Expert
Expert

Joined: Thu Dec 14, 2006 5:57 am
Posts: 1185
Location: Zurich, Switzerland
I'm using 1.2 and DateTime? in .Net works fine with NHibernate DateTime in the mapping. No need for anything.

_________________
--Wolfgang


Top
 Profile  
 
 Post subject: Re: DateTime nullable NHibernate is it still a problem ?
PostPosted: Mon Sep 14, 2009 9:47 am 
Newbie

Joined: Fri Sep 11, 2009 8:51 am
Posts: 4
Confirmed! it works perfect with NULL types.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.