Re: [hibernate-dev] [HV] Supporting Joda Time API with @Past/@Future

2010-03-30 Thread Emmanuel Bernard
I like the idea. Initially we've decided to not add them and were waiting for the JSR-310. do you know the status and expected release? The main problem I see is that we would likely use the same annotations for both joda and the jsr-310. We could think of using @Constraint and use two validato

Re: [hibernate-dev] [HV] Supporting Joda Time API with @Past/@Future

2010-03-24 Thread Alaa Mohsen
I'm for with that. As for it being too specific, I believe that the new validators can be made to depend on Joda Time as a compile dependency that is not needed by anyone using Hibernate Validator unless he needs that functionality. On Wed, Mar 24, 2010 at 11:40 PM, Gunnar Morling < gunnar.morl...

[hibernate-dev] [HV] Supporting Joda Time API with @Past/@Future

2010-03-24 Thread Gunnar Morling
Hi, for Hibernate Validator 4.1 we are planning to add some new constraints. In this context Hardy and I discussed whether it might be worth to add support for the date/time types from the Joda Time API ( http://joda-time.sourceforge.net/) for the @Past/@Future standard constraints. I think Joda