As an experiement I have added a "Help Wanted" option for the jira issues in the tools project.

I'll set that option if I feel the feature is something that would fit well for community user contributions, in other words its a feature that is either very simply/welldefined and doesn't require indefinite knowledge nor time and/or its something that would be nice to have but just isn't on the current roadmap for the core team.

So if you feel like getting your hands dirty then go see at the following link and pick something up ;)

Why the Hibernate Tool current release(reverse engine) don't support many-to-many mapping? It is important in our project. I mean that I have three tables in database ,I want to create two java class other than three. I think the hibernate tool should add this feature to next release.

* DocExporter which generates html based doc of database schema * table name completion if project has Hibernate 3 enabled (Under project properties)* .reveng.xml can now be used to control which tables will be included in reverse engineering* lots of bug fixes

* hbm2java reworked to use hibernate core engine and being template based. - most features are available.

Changes in version 2.1.3------------------------

* added support for generating empty concrete class for a Base class.* added support for <parent> in <composite-element>* added meta class-code, extra-import attributes* hbm2java no longer generates automatically an equals()/hashcode() set unless the class has a composite id or the class is a composite. - use meta implement-equals attribute to enable generating equals()/hashcode() + mark relevant properties with meta use-in-equals attribute.* added meta use-in-equals attribute.

Changes in version 2.1.2------------------------

* hbm2java now validates the hbm.xml files* hbm2java now have an Velocity based renderer* Renderer's can now be configured with <param> tags* Refactored the "source model" hbm2java uses. + now all elements have access to their corresponding XML data. Can be used to access all the information that are not otherwise directly available.

Changes in version 2.0.1------------------------

* hbm2java now supports the defining subclass and joined-subclass externally from it's superclass (e.g. in another hbm.xml file)* Fixed bug in deciding if POJO needed a minimalconstructor ;)* Added support for CompositeUserType* bounded and constraint changeevents is now correctly sending old and new values. (Shane Day, HB-275)* now uses "finder-method" instead of just "finder" for finder generation.* bag's are now generated as java.util.List instead of more generic Collections. If you want the old behavior back then set system property "hbm2java.bag.interface" to java.util.Collection (or whatever other class/interface you want for bag ;)* hbm2java only generate isX() for primitive boolean types.

first, the disappointment issue...
my objects use commons lang to implement toString().
I forgot point to common-lang.jar on edit configuration dialog.
When I retrieve entities on simple query eclipse "self-muder against the wall". It shows error message box infinitely . Ok button close it but new message box opens instantly. As result I cant corect close eclipse, and forced to shoot it. As result I loose my configuration \.metadata\.plugins\org.hibernate.eclipse.console\hibernate-console.xml-16
I think that it is trivial to catch and handle tihs exception.

second, is cosmetic issue...
Why I can't point to properties files when configure class path. as example, this feature required for configure OScache. There is a question: "Why session configuration isn't simple file in workspace as hib.cfg.xml?" and why it not aligned for comfortable editing.

first, the disappointment issue...my objects use commons lang to implement toString().I forgot point to common-lang.jar on edit configuration dialog.When I retrieve entities on simple query eclipse "self-muder against the wall". It shows error message box infinitely . Ok button close it but new message box opens instantly. As result I cant corect close eclipse, and forced to shoot it.

If you could put this in a jira issue with infomration about when and what the error message contains then I would have a chance of fixing it.

Because it is the users classes I have to load and instantiate I can't always control/enclose their behavior; but I can do it in most cases and there might be place were I did not guard it enough....to find those I need bugreports about them (or accidently bump into them my self)

Quote:

As result I loose my configuration \.metadata\.plugins\org.hibernate.eclipse.console\hibernate-console.xml-16I think that it is trivial to catch and handle tihs exception.

Again, if users aren't telling me what is going wrong I can't really fix it.(note; the issue about loosing the config file is in jira and i'm looking into it)

Quote:

second, is cosmetic issue...Why I can't point to properties files when configure class path. as example, this feature required for configure OScache.

I don't understand how adding a non zip/jar *file* to the classpath can ever make sense ?

Quote:

There is a question: "Why session configuration isn't simple file in workspace as hib.cfg.xml?" and why it not aligned for comfortable editing.

original reason: a hibernate console configuration can be used by many projects.

in the future we will loosen this up and make it possible to have "local" definitions.

p.s. these questions should be in a seperate more apropriate thread and/or jira and not under the thread that is looking for people contributing patches :)

I have played around a bit adding support for pocso(?) :-) generation. In essence a new interface was added (LangExportContext.java) which is now responsible for specific target language features, and some csharp specific templates.

Existing Hbm2JavaTest.java tests seem to run unaltered (at least with an Oracle database as the backend), and a new one (Hbm2CSharpTest.java) was added to test csharp generation. Some duplication between Cfg2Java and ImportContext has been moved to the new classes.

There are still thinks missing (e.g. java annotations - csharp attributes mapping and adding the [Serializable] attribute in csharp classes) I am still working on.

If you are interested in seeing some code, let me know where I should upload the zip file.