Reputation: 2509
How can I use the tools to generate DAOs?
In fact, instead of passing through the hbm
files, I need to configure hibernate tools to generate the DAO and the annotations.
See Hibernate Tools - DAO generation and How generate DAO with Hibernate Tools in Eclipse?
Upvotes: 1
Views: 6459
Reputation: 5700
Welcome. You got to write all your data access logic by your hand (if I’m not wrong). Hiberante let you interact with database in three ways.
You can find lots of examples on internet. Please post your specific requirements for further clarification on your problem.
Cheers!
Upvotes: 1
Reputation: 5700
First let me assume DAO as POJO/Entity beans. Basically you can accomplish your task either through forward or reverse engineering. In case of forward engineering, probably you can look into AndroMDA tool. In case If u wish to accomplish it through reverse engineering Click here ..
Hope this will be helpful.
Upvotes: 1