On 08/04/2011 10:59 AM, Hardy Ferentschik wrote:
support for Joda time is new in Validator 4.2. See also
as you can see in the pom joda time is an optional dependency for HV 4.3
I think that Stuart is adding an AS7 module for joda-time soon. We
should be able to use that to resolve jira AS7-1465.
Stuart, from the above pom definition, it looks like HV needs:
Is this the same version that you are adding to AS7? If not, maybe we
can put joda-time 1.6 in its own slot.
As far as I know AS 7 is still shipped w/ Validator 4.1 and its
dependencies. There is an issue for upgrading
to Hv 4.2 in AS 7 - https://issues.jboss.org/browse/AS7-967
If the user want to use the Validator version provided w/ AS7, then he
indeed has to update the jars and module definitions.
If he has all jars (HV 4.2 + deps) bundles within the application I am not
quite sure how class loading works in this case.
I wonder though what he is actually validating (the actual annotated
bean). He is mentioning HV 4.1 and there we did not even have joda time
so I don't see how he validated Joda time instances using 4.1 without
providing a custom ConstraintValidator.
Hope this helps,
On Thu, 04 Aug 2011 16:38:57 +0200, Scott Marlow<smarlow(a)redhat.com>
> I'm just starting to ask questions about this issue on the jira
> I asked where the joda-time-1.6.2.jar is in the deployment.
> Any other questions we should ask?
> hibernate-dev mailing list
hibernate-dev mailing list