-->
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: Reverse Engineering ignores my <table> tags
PostPosted: Mon Oct 26, 2009 5:38 pm 
Newbie

Joined: Fri Oct 10, 2008 11:04 pm
Posts: 6
Location: California
I have no idea what I'm doing wrong. Here's a fragment of my reveng.xml file:

<hibernate-reverse-engineering>
<table-filter match-name=".*" package="com.peanuts.hib"/>
<table name="image" schema="PUBLIC" class="ImageInfo">
<primary-key>
<generator class="increment"/>
<key-column name="image_id"/>
</primary-key>
<foreign-key constraint-name="item_image">
<many-to-one/>
</foreign-key>
</table>
... (more table tags)
</hibernate-reverse-engineering>

It's generating a file for each table, but it ignores everything in the table tags. It doesn't give me a class of the specified name, which I don't really care about, but it ignores the "many-to-one" relationship, which is far more important.

Can anyone tell me what I might be doing wrong?


Top
 Profile  
 
 Post subject: Re: Reverse Engineering ignores my <table> tags
PostPosted: Mon Oct 26, 2009 5:40 pm 
Newbie

Joined: Fri Oct 10, 2008 11:04 pm
Posts: 6
Location: California
I should also mention that the database is MySql 5.1.37


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.