Whats up with Hatim!

life, musings and rants of a Pakistani Software Developer

Hibernate Tools and OpenNMS

Posted by hatim Sat, 28 Jun 2008 17:43:00 GMT

I was in need of checking my HQL queries from within Eclipse so I could check for their validity. Furthermore since it was for a Spring/Hibernate based project (namely OpenNMS for my Google Summer of code) so there was no hibernate.cfg.xml to begin with (OpenNMS has loads of other configurations in which it stores what it needs to do with hibernate and databases). So the solution was simple, to make a brand new hibernate.cfg.xml for own use (this file wont be committed, but i think a provision of such thing should be there so there is easy way for new comers to startup hibernate tools)

I have been reading up alot for my Summer of Code, I have completely read Harnessing Hibernate  and am currently taking reference from Beginning Hibernate and from Java Persistence with Hibernate. These are all excellent books. Harnessing hibernate was helpful in the setup of hibernate tools in Eclipse.

Following are some screenshots of hibernate tools on my system.

hibernate tools tab completion.
Hibernate tools tab completion.


Hibernate tools executing HQL query on OpenNMS model

Posted in  | Tags , ,  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://hatimonline.com/blog/trackbacks?article_id=hibernate-tools-and-opennms&day=28&month=06&year=2008

(leave url/email »)

   Preview comment