[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:31:04 EST 2006


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

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

Our program is spread in large domains with tiny sub-domains. To simplify mapping declaration, we developped a mapping initializer that takes an xml file where domains (or sub-domains) are declared.

For example, if you want the server to take in charge invoices, you have to declare the corresponding path and not each related mapping file. Something like WEB-INF/.........../invoice

> 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