facebook

Hibernate Reverse Engineering

  1. MyEclipse IDE
  2.  > 
  3. Feature Requests
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #264570 Reply

    It would be great if the Hibernate reverse engineering tool would automatically map invalid column name characters to something, maybe an underscore.

    Manual mapping is fine for a handfull of tables, but if you have to map larger models, it’s a pain.

    Best solution, IMHO, would be if the XML mapping definition (the reveng file) would be generated for all items (columns and tables), and if it were possible to apply an XSLT to it. That way it would be easy do perform complex name mappings without much efford.

    Thanks in advance,
    Michael

    #264590 Reply

    Brian Fernandes
    Moderator

    Michael,

    I understand your issues with the bad names. The 5.5M1 release will include the ability to specify a reverse engineering strategy, where you can specify the column to property mapping programmatically using a Java class – I hope this helps a bit.
    Beyond this release, we are looking at solutions which should make this mapping even simpler.

    We appreciate your suggestions and would like to know how it goes with the new RE strategy – check the Hibernate quickstart documentation for details on how this works. 5.5M1 should be released in a couple of weeks.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hibernate Reverse Engineering

You must be logged in to post in the forum log in