• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate tools

 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Hibernate Tools 3.2. I want to implement ReverseEngineeringStrategy, and I cannot find the api anywhere.

Do you know where I can find the api for Hibernate Tools?

I posted this question on Hibernate forum, and I got no answers.

Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's a section "Custom Strategy" at Hibernate Reverse Engineering. Is it what you are looking for?
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jaikiran Pai:
There's a section "Custom Strategy" at Hibernate Reverse Engineering. Is it what you are looking for?


According to the documentation if I want to cusomize the reverse engineering strategy, I need to implement ReverseEngineeringStrategy interface or extend DelegatingReverseEngineeringStrategy class.

I want to know the signature of the above classes, so I can implement them.

Thanks
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean, you want to know which method to override? It depends on what you want to customize. Here's an example which overrides the columToPropertyName method to generate a custom property name out of the table's column name : Custom Reverse Engineering example. If you want the entire list of methods available on these classes (the javadoc) then i dont think that its available currently.
 
Hanna Habashy
Ranch Hand
Posts: 532
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jaikiran Pai:
You mean, you want to know which method to override? It depends on what you want to customize. Here's an example which overrides the columToPropertyName method to generate a custom property name out of the table's column name : Custom Reverse Engineering example. If you want the entire list of methods available on these classes (the javadoc) then i dont think that its available currently.


Thanks Pai. JavaDoc it what I am looking for.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic