You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@juddi.apache.org by "Kurt Stam (JIRA)" <ju...@ws.apache.org> on 2008/09/25 15:01:44 UTC
[jira] Commented: (JUDDI-142) JPA retrievals result in sporadic
ordering of collections
[ https://issues.apache.org/jira/browse/JUDDI-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634471#action_12634471 ]
Kurt Stam commented on JUDDI-142:
---------------------------------
If needed we can specify a 'order-by' clause on collections. However "returned in the order that they are saved" would mean we need a Create TimeStamp on these things. I don't think we have that, do we?
BTW, it coming back in 'random' order is normal if no ordering is specified.
> JPA retrievals result in sporadic ordering of collections
> ---------------------------------------------------------
>
> Key: JUDDI-142
> URL: https://issues.apache.org/jira/browse/JUDDI-142
> Project: jUDDI
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Jeff Faath
> Assignee: Kurt Stam
> Fix For: 3.0
>
>
> When retrieving results from the persistence layer (currently using Hibernate), collections of objects are coming back with sporadic ordering. I cannot identify the any concrete reasons as it doesn't happen every time and to every collection.
> Not only is it causing havoc with the unit tests, it is probably desirable that results are returned in the order that they're are saved.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-dev-help@ws.apache.org