[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-824) I changed Hibernate Console to allow selecting directories containing .hbm.xml files instead of selecting each file one by one

Alexandre de Pellegrin (JIRA) noreply at atlassian.com
Thu Nov 16 11:09:04 EST 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-824?page=comments#action_25330 ] 

Alexandre de Pellegrin commented on HBX-824:
--------------------------------------------

I work in a very large project with 449 mapping files (for the moment...). Using hibernate configuration file to declere its would have been difficult to maintain. So, it's the reason why we have to declere lots of files in the Hibernate Configuration Wizard.

I will submit a patch ASAP.

Regards,
Alexandre de Pellegrin

> I changed Hibernate Console to allow selecting directories containing .hbm.xml files instead of selecting each file one by one
> ------------------------------------------------------------------------------------------------------------------------------
>
>          Key: HBX-824
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-824
>      Project: Hibernate Tools
>         Type: Improvement

>   Components: consoleconfiguration
>     Versions: 3.2beta8
>  Environment: Eclipse 3.2
> Sun JDK 1.6.0
>     Reporter: Alexandre de Pellegrin
>     Priority: Minor
>  Attachments: FourClassesModified.zip
>
>
> Hi,
> Since I use Hibernate Console Eclipse plugin, I want to propose a refinement to simplify configuration. I work in very large project and selecting hibernate files one by one is very boring. So I modified the plugin to accept directories. In practice, when you select a directory, all hibernate files included in this directory and all its sub-directories will be loaded in the session.
> This change impacts four classes. I put in green new code and blue modified code. You will find this classes in attachement.
> I hope you will include it in next release.
> Regards,
> Alexandre de Pellegrin

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