[hibernate-issues] [Hibernate-JIRA] Commented: (HSHARDS-51) ShardResolutionStrategyImpl needs equals() and hashCode()

Danny Antonetti (JIRA) noreply at atlassian.com
Sat Sep 13 02:53:05 EDT 2008


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31174#action_31174 ] 

Danny Antonetti commented on HSHARDS-51:
----------------------------------------

Should two ShardResolutionStrategy be considered equal if they have the same Set of ShardId's with different orderings?



> ShardResolutionStrategyImpl needs equals() and hashCode()
> ---------------------------------------------------------
>
>                 Key: HSHARDS-51
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSHARDS-51
>             Project: Hibernate Shards
>          Issue Type: Bug
>          Components: engine
>            Reporter: Max Ross
>            Assignee: Max Ross
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> There's basically no way to implement a cache-aware ShardResolutionStrategy until we implement equals() and hashCode() on ShardResolutionStrategyImpl.

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

        



More information about the hibernate-issues mailing list