These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Need help with POJO code generation!
PostPosted: Wed Jul 30, 2008 2:48 pm 
Regular
Regular

Joined: Tue Jul 29, 2008 4:15 pm
Posts: 62
Location: Dallas, TX US
Hibernate version: hibernate-annotations 3.3.1, hibernate-commons-annotations 3.3.0.ga, hibernate-entitymanager3.3.2, hibernate-core 3.2

Name and version of the database you are using: Orcale XE 10g Release 2 (10.2)

I am using Hibernate Tools 3.2.2.Beta1 with Eclipse 3.3.2

My situation is I do not have any existing POJOs. But I do have an existing database with tables. I want to know how do I get hibernate to generate my POJO base only off of hbm files that uses meta tag as describe in the Hibernate Tools Reference Guide Chapter 6? Is this possible with the HTools Eclipse Plugin?

Can anybody help with this?


For a detail understanding of what I am trying to do please view my earlier post at http://forum.hibernate.org/viewtopic.php?t=989179

Thanks!

_________________
pouncilt


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 31, 2008 2:12 pm 
Regular
Regular

Joined: Tue Jul 29, 2008 4:15 pm
Posts: 62
Location: Dallas, TX US
I found my mistake. In my cfg.xml file it was referencing the pojo classes instead of the hbm.xml files. I am now able to generate my pojos based on my hbm.xml files.

Thanks!

_________________
pouncilt


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.