[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-962) optimisticValidation unnecessarily checks DataVersion types during simpleValidate() - should delegate this to the DataVersion impl

Galder Zamarreno (JIRA) jira-events at jboss.com
Wed Jan 31 11:57:30 EST 2007


    [ http://jira.jboss.com/jira/browse/JBCACHE-962?page=comments#action_12351992 ] 
            
Galder Zamarreno commented on JBCACHE-962:
------------------------------------------

This has an impact with the Hibernate 3.2.x integration due to 
DataVersion implementations passed to JBossCache.

> optimisticValidation unnecessarily checks DataVersion types during simpleValidate() - should delegate this to the DataVersion impl
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBCACHE-962
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-962
>             Project: JBoss Cache
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.4.1.GA, 2.0.0.ALPHA2
>            Reporter: Manik Surtani
>         Assigned To: Manik Surtani
>             Fix For: 2.0.0.GA, 2.0.0.BETA1, 1.4.1.SP1
>
>
> Should not bother comparing DataVersion types and barfing upon mismatch.  We will do a DataVersion.newerThan() anyway immediately after.  We should just let the DataVersion impl barf of there is a type mismatch.  
> Reason being, dummy types can be used that don't care about such mismatches and always rtn true.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list