IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes Hibernate tools Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "Hibernate tools" Watch "Hibernate tools" New topic
Author

Hibernate tools

Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
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


SCJD 1.4<br />SCJP 1.4<br />-----------------------------------<br />"With regard to excellence, it is not enough to know, but we must try to have and use it.<br />" Aristotle
Jaikiran Pai
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6718

There's a section "Custom Strategy" at Hibernate Reverse Engineering. Is it what you are looking for?


[My Blog] [JavaRanch Journal]
Hanna Habashy
Ranch Hand

Joined: Aug 20, 2003
Posts: 532
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
Saloon Keeper

Joined: Jul 20, 2005
Posts: 6718

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

Joined: Aug 20, 2003
Posts: 532
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.
 
 
subject: Hibernate tools
 
Threads others viewed
Hibernate/Criteria Query/ Oracle case-when
Hibern8IDE download
Performance for Hibernate vs JPA(Hibernate) Jboss Help needed
Hibernate and millions of rows..
RAD v6.0.1 and Hibernate 3.2.5.ga 31.07.2007
IntelliJ Java IDE