facebook

Create hibernate mapping / Database Explorer

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #268785 Reply

    We would like to customize hibernate reverse engineering process so that each time we re-generate hibernate mappings from the Oracle DB, a child tag <cache usage=”read-only”/> is added to the class tag.

    I used the replaceregexp ant task to add this <cache usage=”read-only”/> to my Hibernate mappings, but if there is a smarter way to do that, I would like to know.

    By the way I need to add mutable=false attribute to the class tag.

    Thanks in advance

    #268831 Reply

    Haris Peco
    Member

    Denis,

    There isn’t some way that do that in MyEclipse.Your way is good.You can use xsl as well

    Regards,

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Create hibernate mapping / Database Explorer

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