[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5698) Sort inserts in primary key order (patch included)

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Jan 4 11:30:05 EST 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=39480#action_39480 ] 

Steve Ebersole commented on HHH-5698:
-------------------------------------

Also, I have been told the pull request contains no tests.  Please add tests, especially tests showing proper handling of associations wrt ordering

> Sort inserts in primary key order (patch included)
> --------------------------------------------------
>
>                 Key: HHH-5698
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5698
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.6.0
>         Environment: Hibernate 3.6.0, all databases
>            Reporter: Søren Mathiasen
>            Priority: Minor
>         Attachments: hibernate-insert.patch, patch.diff
>
>
> When inserting rows in the database, we should make a sort on primary key in order to ensure that database fragmentation is minimal.
> Attached is a patch that does that.

-- 
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